summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorGert Vervoort <Gert.Vervoort@wxs.nl>2005-01-09 00:48:37 +0000
committerLoren Merritt <lorenm@u.washington.edu>2005-01-09 00:48:37 +0000
commit9c6221ae621a3467b7466e98975e63b2382c1b58 (patch)
treef62acb134e31511e31e43019a9c256b247e3d98f /libavcodec
parentc3ea71a09701ab4a7c32ca8e3049007fbac0454f (diff)
10l (obmc_scratchpad not always initialize)
patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>) Originally committed as revision 3816 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 2 insertions, 0 deletions
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);