avformat/moflex: Free AVPackets via av_packet_free() on error
(This is not a leak as long as av_free() completely frees blank packets.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -383,4 +383,5 @@ const AVInputFormat ff_moflex_demuxer = {
|
|||||||
.read_close = moflex_read_close,
|
.read_close = moflex_read_close,
|
||||||
.extensions = "moflex",
|
.extensions = "moflex",
|
||||||
.flags = AVFMT_GENERIC_INDEX,
|
.flags = AVFMT_GENERIC_INDEX,
|
||||||
|
.flags_internal = FF_FMT_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user