10l (obmc_scratchpad not always initialize)
authorGert Vervoort <Gert.Vervoort@wxs.nl>
Sun, 9 Jan 2005 00:48:37 +0000 (00:48 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Sun, 9 Jan 2005 00:48:37 +0000 (00:48 +0000)
patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>)

Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index c1f354e..5267b25 100644 (file)
@@ -2540,6 +2540,8 @@ static int alloc_tables(H264Context *h){
         }
     }
 
+    s->obmc_scratchpad = NULL;
+
     return 0;
 fail:
     free_tables(h);