summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-04-11 16:32:02 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-24 10:06:25 +0200
commit370ddc7b38d6b27b54fc2f5ee5f3dd9506f8c7c8 (patch)
tree470ddde40d6d871f0b0b942b734f27b88747c9f1 /libavcodec/h264.c
parent56087ec0a29314d1860f6f0e6f40fbb9b40feccd (diff)
h264: remove H264Context.pict_type
It is not used for anything internally, just exported in the output frames. So remove the indirection and set it directly in frame_start().
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 9cc0a241fe..c024d7e03a 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -438,8 +438,6 @@ static void decode_postinit(H264Context *h, int setup_finished)
int i, pics, out_of_order, out_idx;
int invalid = 0, cnt = 0;
- h->cur_pic_ptr->f->pict_type = h->pict_type;
-
if (h->next_output_pic)
return;