On 2013-03-12 12:48:34 +0100, Anton Khirnov wrote:
> free_tables() frees it already.
> ---
> libavcodec/h264.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> index 988812c..3fa6475 100644
> --- a/libavcodec/h264.c
> +++ b/libavcodec/h264.c
> @@ -4700,13 +4700,6 @@ static av_cold int h264_decode_end(AVCodecContext
> *avctx)
>
> ff_h264_free_context(h);
>
> - if (h->DPB) {
> - for (i = 0; i < MAX_PICTURE_COUNT; i++) {
> - unref_picture(h, &h->DPB[i]);
> - }
> - }
> - av_freep(&h->DPB);
> -
> unref_picture(h, &h->cur_pic);
>
> return 0;
ok
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel