summaryrefslogtreecommitdiff
path: root/libavcodec/error_resilience.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-12-28 11:35:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-28 11:35:54 +0000
commit622eb8367b9e8f6d04829051dcec274029f97a80 (patch)
tree0e15f6617abed14bf4e238271e71e35924a54116 /libavcodec/error_resilience.c
parentbba04f1e9dcf5fb66c2aee45d6163d2548e97f4b (diff)
10l (segfault fix)
Originally committed as revision 2633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/error_resilience.c')
-rw-r--r--libavcodec/error_resilience.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index adec943122..fd39926b01 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -677,6 +677,7 @@ void ff_er_frame_end(MpegEncContext *s){
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){