diff h264.c @ 8140:54d7d6a63f3c libavcodec

Fix H.264 decoding. (Problem analyzed by Uoti Urpala)
author cehoyos
date Thu, 13 Nov 2008 11:33:26 +0000
parents a9734fe0811e
children 5f399949a6a6
line wrap: on
line diff
--- a/h264.c	Thu Nov 13 03:18:28 2008 +0000
+++ b/h264.c	Thu Nov 13 11:33:26 2008 +0000
@@ -7338,7 +7338,7 @@
     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];