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
1 changed files with 3 additions and 0 deletions

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;
}