Commit 9b73fbcf authored by Michael Niedermayer's avatar Michael Niedermayer

h264dec: Decode in stream avc extradata.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4ba39683
......@@ -3911,6 +3911,8 @@ static int decode_frame(AVCodecContext *avctx,
return 0;
}
if(h->is_avc && AV_RB32(buf)==0x0164001F && buf[5] && buf[8]==0x67)
return ff_h264_decode_extradata(h, buf, buf_size);
buf_index=decode_nal_units(h, buf, buf_size);
if(buf_index < 0)
......
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