summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-04-05 08:49:47 +0200
committerAnton Khirnov <anton@khirnov.net>2015-04-29 05:52:57 +0200
commit9d33bab583a82cf12286c65258a29c6888e1ff98 (patch)
treebea5f4197e1ee941fad394d65777a7a635f2feeb /libavcodec/h264.c
parent27b0e6ebfd47b0c11156c18b90fa8c571f0f60c3 (diff)
h264: drop H264Context.ouputed_poc
It is only set, but never used for anything.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 266b3ec93a..5c676559e6 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -598,7 +598,7 @@ static int h264_init_context(AVCodecContext *avctx, H264Context *h)
h->recovery_frame = -1;
h->frame_recovered = 0;
- 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;
@@ -1047,7 +1047,7 @@ void ff_h264_flush_change(H264Context *h)
int i;
for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
h->last_pocs[i] = INT_MIN;
- h->outputed_poc = h->next_outputed_poc = INT_MIN;
+ h->next_outputed_poc = INT_MIN;
h->prev_interlaced_frame = 1;
idr(h);
if (h->cur_pic_ptr)