summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 17:30:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-01-27 09:08:31 +0100
commit9404a47a2d1df418946a338938eb6cdb3afed474 (patch)
tree7deb7d4b010ecc21fbd3be625a63efd195a1b6c2 /libavcodec/h264.c
parentcf1e0786ed64e69614760bfb4ecd7adbde8e6094 (diff)
h264: move parser-only variables to their own context
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f9667517d7..593a23df7c 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1084,13 +1084,6 @@ static void flush_dpb(AVCodecContext *avctx)
h->mb_x = h->mb_y = 0;
- h->parse_context.state = -1;
- h->parse_context.frame_start_found = 0;
- h->parse_context.overread = 0;
- h->parse_context.overread_index = 0;
- h->parse_context.index = 0;
- h->parse_context.last_index = 0;
-
ff_h264_free_tables(h, 1);
h->context_initialized = 0;
}