Re: [libav-devel] [PATCH 3/3] h264: free the tables and uninitialize the context on flush

2013-11-06 Thread Janne Grunau
On 2013-11-04 18:08:32 +0100, Anton Khirnov wrote: Prevents referencing empty frames. maybe add when the first packet after the flush does not contain a frame --- libavcodec/h264.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index

[libav-devel] [PATCH 3/3] h264: free the tables and uninitialize the context on flush

2013-11-04 Thread Anton Khirnov
Prevents referencing empty frames. --- libavcodec/h264.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f0ef2eb..5d8406f 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2768,6 +2768,9 @@ static void flush_dpb(AVCodecContext *avctx)