From 3178f4d33ff62243f7cdddb081db516ea34396c9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 17 Jan 2015 22:28:46 +0100 Subject: h264: move rbsp_buffer into the per-slice context --- libavcodec/h264_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264_parser.c') diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index e6528060f7..d04eeb1974 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -226,7 +226,7 @@ static inline int parse_nal_units(AVCodecParserContext *s, } break; } - ptr = ff_h264_decode_nal(h, buf, &dst_length, &consumed, src_length); + ptr = ff_h264_decode_nal(h, sl, buf, &dst_length, &consumed, src_length); if (!ptr || dst_length < 0) break; -- cgit v1.2.3