changeset 1704:8bccf5eda14b libavcodec

10l (segfault fix)
author michael
date Sun, 28 Dec 2003 11:35:54 +0000
parents 6797179a0649
children 954593137d37
files error_resilience.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/error_resilience.c	Mon Dec 22 19:42:28 2003 +0000
+++ b/error_resilience.c	Sun Dec 28 11:35:54 2003 +0000
@@ -677,6 +677,7 @@
         av_log(s->avctx, AV_LOG_ERROR, "Warning MVs not available\n");
         
         s->current_picture.motion_val[0]= av_mallocz(size * 2 * sizeof(int16_t)); //FIXME
+        s->current_picture.motion_val[1]= av_mallocz(size * 2 * sizeof(int16_t));
     }
     
     if(s->avctx->debug&FF_DEBUG_ER){