Commit e8a46067 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '9d33bab5'

* commit '9d33bab5':
  h264: drop H264Context.ouputed_poc

Conflicts:
	libavcodec/h264.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0d5e615c 9d33bab5
......@@ -629,7 +629,7 @@ static int h264_init_context(AVCodecContext *avctx, H264Context *h)
h->prev_frame_num = -1;
h->sei_fpa.frame_packing_arrangement_cancel_flag = -1;
h->outputed_poc = h->next_outputed_poc = INT_MIN;
h->next_outputed_poc = INT_MIN;
for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
h->last_pocs[i] = INT_MIN;
......@@ -1066,7 +1066,7 @@ void ff_h264_flush_change(H264Context *h)
{
int i, j;
h->outputed_poc = h->next_outputed_poc = INT_MIN;
h->next_outputed_poc = INT_MIN;
h->prev_interlaced_frame = 1;
idr(h);
......
......@@ -645,7 +645,6 @@ typedef struct H264Context {
H264Picture *delayed_pic[MAX_DELAYED_PIC_COUNT + 2]; // FIXME size?
int last_pocs[MAX_DELAYED_PIC_COUNT];
H264Picture *next_output_pic;
int outputed_poc;
int next_outputed_poc;
/**
......
......@@ -169,7 +169,6 @@ int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup)
}
h->prev_frame_num_offset = h->frame_num_offset;
h->prev_frame_num = h->frame_num;
h->outputed_poc = h->next_outputed_poc;
}
if (avctx->hwaccel) {
......
......@@ -636,7 +636,6 @@ int ff_h264_update_thread_context(AVCodecContext *dst,
}
h->prev_frame_num_offset = h->frame_num_offset;
h->prev_frame_num = h->frame_num;
h->outputed_poc = h->next_outputed_poc;
h->recovery_frame = h1->recovery_frame;
......
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