1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-22 04:04:14 +02:00

h264: initialize frame-mt context copies properly

This commit is contained in:
Janne Grunau 2012-12-09 19:19:51 +01:00
parent 6a27ae28f9
commit 0eae920c3c

View File

@ -1125,6 +1125,8 @@ static int decode_init_thread_copy(AVCodecContext *avctx)
memset(h->sps_buffers, 0, sizeof(h->sps_buffers));
memset(h->pps_buffers, 0, sizeof(h->pps_buffers));
h->s.context_initialized = 0;
return 0;
}