diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 6d7395cd28..a177117ae0 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -962,7 +962,7 @@ int ff_h264_frame_start(H264Context *h){ h->thread_context[i]->s.obmc_scratchpad = av_malloc(16*2*s->linesize + 8*2*s->uvlinesize); /* some macroblocks can be accessed before they're available in case of lost slices, mbaff or threading*/ - memset(h->slice_table, -1, (s->mb_height*s->mb_stride-1) * sizeof(*h->slice_table)); + memset(h->slice_table, -1, (s->mb_height*s->mb_stride-1) * sizeof(*h->slice_table)); // s->decode= (s->flags&CODEC_FLAG_PSNR) || !s->encoding || s->current_picture.reference /*|| h->contains_intra*/ || 1;