am7xxx-play: free AVCodecContext variables with avcodec_free_context()
authorAntonio Ospite <ao2@ao2.it>
Wed, 28 Feb 2018 12:01:51 +0000 (13:01 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 1 Mar 2018 14:33:27 +0000 (15:33 +0100)
commit6b0d2bb61bd33166b18d9504d69e25b430d2f21a
treecfda874290f5c34bbfa7b035885629a93721cc35
parent8aa04859fc68aeab28d08a1c7d97ef5a0f7ce050
am7xxx-play: free AVCodecContext variables with avcodec_free_context()

Deallocate AVCodecContext variables with avcodec_free_context() instead
of av_free() this is for symmetry with the allocation functions.

Adjust and update the comment to the new code.
examples/am7xxx-play.c