mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
h264: remove redundant freeing of DPB in h264_decode_end
free_tables() frees it already.
This commit is contained in:
parent
23e85be58f
commit
fcf75022d7
@ -4706,13 +4706,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;
|
||||
|
Loading…
Reference in New Issue
Block a user