aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc_mpeg2.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-13 00:22:28 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-17 00:09:08 +0200
commit0b45ac571713cc8fda7aa5381c68ad671d21504b (patch)
tree4ce169ad81e91079793bf26a709c20b7f904f249 /libavcodec/qsvenc_mpeg2.c
parent771f91532c5cb65666820f1156b3a0e1661a3102 (diff)
downloadffmpeg-0b45ac571713cc8fda7aa5381c68ad671d21504b.tar.gz
avcodec/roqaudioenc: Avoid redundant free of unallocated buffer
If allocating a buffer in RoQ DPCM encoder's init function failed, the close function would be called manually; all this function does is freeing said buffer, but given that it has not been allocated at all, this is unnecessary. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc_mpeg2.c')
0 files changed, 0 insertions, 0 deletions