OSDN Git Service

avcodec/mpegvideo_enc: fix memory leak
authorTimo Rothenpieler <timo@rothenpieler.org>
Sun, 25 Sep 2016 13:41:47 +0000 (15:41 +0200)
committerTimo Rothenpieler <timo@rothenpieler.org>
Mon, 26 Sep 2016 16:21:00 +0000 (18:21 +0200)
commit99b823f0a1be42abc0f3a6a0da946c4464db5fb6
tree8439302be7afdb6c989dc56c542a90b5ca998cda
parent46aae846165c35e6d184087542dd3e610fa36506
avcodec/mpegvideo_enc: fix memory leak

When the input frames contain side data, it will accumulate endlessly in
the coded frame, as av_frame_copy_props will append any new side data.

Fixes ticket #5799.
libavcodec/mpegvideo_enc.c