[FFmpeg-soc] [soc] Fix ff_frame_thread_flush()
Benoit Fouet
benoit.fouet at purplelabs.com
Tue Jun 24 09:18:22 CEST 2008
Alexander Strange wrote:
> diff --git a/libavcodec/framethread.c b/libavcodec/framethread.c
> index 7be5189..a0f80c8 100644
> --- a/libavcodec/framethread.c
> +++ b/libavcodec/framethread.c
> @@ -334,10 +337,16 @@ void ff_frame_thread_flush(AVCodecContext *avctx)
> ff_release_buffer(&p->released_buffers[j]);
>
> p->nb_released_buffers = 0;
> +
> + memset(&p->result, 0, sizeof(AVFrame));
>
why is that needed ?
--
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com
More information about the FFmpeg-soc
mailing list