Browse Source

lavf/mov: Don't limit fourcc 0 -> raw/twos to version 0 sample descriptions

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Mats Peterson Michael Niedermayer 10 years ago
parent
commit
a51c8a68ad
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c View File

@@ -1863,7 +1863,7 @@ static void mov_parse_stsd_audio(MOVContext *c, AVIOContext *pb,
}
}

if (version == 0 && sc->format == 0) {
if (sc->format == 0) {
if (st->codec->bits_per_coded_sample == 8)
st->codec->codec_id = mov_codec_id(st, MKTAG('r','a','w',' '));
else if (st->codec->bits_per_coded_sample == 16)


Loading…
Cancel
Save