am7xxx-play: remove useless call to avcodec_close() in video_output_init()
authorAntonio Ospite <ao2@ao2.it>
Wed, 28 Feb 2018 12:25:07 +0000 (13:25 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 1 Mar 2018 14:33:27 +0000 (15:33 +0100)
commita648584dd366450bc62a820541338fa40e93069e
tree600105f6b40b9a45399bef95aeafc5490f99ff15
parent6b0d2bb61bd33166b18d9504d69e25b430d2f21a
am7xxx-play: remove useless call to avcodec_close() in video_output_init()

If the code reaches the "cleanup" exit path in video_output_init() the
output codec context was never opened, so there is no need to close it.
examples/am7xxx-play.c