Commit d5d02768 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Use the parser for AC-3 in mov.

Fixes ticket #494.
parent 3e1a7ae4
...@@ -1272,6 +1272,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment