aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-21 13:10:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-21 13:10:57 +0100
commit881050d2292809f3b4fae815bbef95c4793b0ab4 (patch)
tree1cddc0bbdd0c1004e243b4b3528918b28051a870
parent86d9d349cce54984ef7f4b67647ae73bf1c48f88 (diff)
parentfcf75022d72e2bcda3918e3cef8fc10457cd357a (diff)
downloadffmpeg-881050d2292809f3b4fae815bbef95c4793b0ab4.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: h264: remove redundant freeing of DPB in h264_decode_end Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h264.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 2adee84bf3..529aa59bef 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4946,13 +4946,6 @@ static av_cold int h264_decode_end(AVCodecContext *avctx)
ff_h264_remove_all_refs(h);
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;