1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +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); st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
} }
break; break;
case CODEC_ID_AC3:
st->need_parsing = AVSTREAM_PARSE_FULL;
break;
default: default:
break; break;
} }