mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
h264dec: Decode in stream avc extradata.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4ba396834d
commit
9b73fbcff6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user