1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

Use the parser for AC-3 in mov.

Fixes ticket #494.
This commit is contained in:
Carl Eugen Hoyos 2011-09-21 23:29:38 +02:00
parent 3e1a7ae44a
commit d5d027682c

View File

@ -1272,6 +1272,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
}
break;
case CODEC_ID_AC3:
st->need_parsing = AVSTREAM_PARSE_FULL;
break;
default:
break;
}