mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-01 04:12:14 +00:00
h264dec: do not set picture_structure on init
This has been cargo culted from mpegvideo and serves no useful purpose. It will be initialize correctly in h264_field_start()
This commit is contained in:
parent
4fb05c0d5d
commit
fc12d6c258
@ -309,7 +309,6 @@ static int h264_init_context(AVCodecContext *avctx, H264Context *h)
|
|||||||
h->width_from_caller = avctx->width;
|
h->width_from_caller = avctx->width;
|
||||||
h->height_from_caller = avctx->height;
|
h->height_from_caller = avctx->height;
|
||||||
|
|
||||||
h->picture_structure = PICT_FRAME;
|
|
||||||
h->workaround_bugs = avctx->workaround_bugs;
|
h->workaround_bugs = avctx->workaround_bugs;
|
||||||
h->flags = avctx->flags;
|
h->flags = avctx->flags;
|
||||||
h->poc.prev_poc_msb = 1 << 16;
|
h->poc.prev_poc_msb = 1 << 16;
|
||||||
|
Loading…
Reference in New Issue
Block a user