]> git.sesse.net Git - ffmpeg/commit
avformat/au: Remove redundant av_freep()
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 13 Jul 2020 15:18:48 +0000 (17:18 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 18 Jul 2020 16:00:46 +0000 (18:00 +0200)
commit84340497c03d34ce6902d210b8a20b848c37ce98
tree9cf47638dfa0b4f41d1ad7ce1b4bcd079c9cf215
parent8d3556b7a3f89f5dd621c3359f8690cf38796db7
avformat/au: Remove redundant av_freep()

This av_freep(&key) in conjunction with the fact that the loop condition
checks for key != NULL was equivalent to a av_freep(&key) + a break
immediately thereafter. But given that there is an av_freep(&key)
directly after the loop, the av_freep(&key) is unnecessary and the break
can also be added explicitly.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/au.c