From 74e8b78b20731511ef797f895f7555eb0f976210 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 13 Nov 2008 11:33:26 +0000 Subject: [PATCH] Fix H.264 decoding. (Problem analyzed by Uoti Urpala) Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 426a3b8639c..915c0785ad7 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7338,7 +7338,7 @@ static void execute_decode_slices(H264Context *h, int context_count){ int i; if(context_count == 1) { - decode_slice(avctx, h); + decode_slice(avctx, &h); } else { for(i = 1; i < context_count; i++) { hx = h->thread_context[i]; -- 2.39.2