summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h264.c')
-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);