From 9c6221ae621a3467b7466e98975e63b2382c1b58 Mon Sep 17 00:00:00 2001 From: Gert Vervoort Date: Sun, 9 Jan 2005 00:48:37 +0000 Subject: [PATCH] 10l (obmc_scratchpad not always initialize) patch by (Gert Vervoort ) Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index c1f354e0db..5267b25f2f 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2540,6 +2540,8 @@ static int alloc_tables(H264Context *h){ } } + s->obmc_scratchpad = NULL; + return 0; fail: free_tables(h);