libeplayer3/container_ffmpeg: cleanup

Origin commit data
------------------
Branch: master
Commit: a865a4779a
Author: martii <m4rtii@gmx.de>
Date: 2013-03-09 (Sat, 09 Mar 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-03-09 16:40:54 +01:00
parent 006f4b3003
commit c992bd376c

View File

@@ -1083,8 +1083,7 @@ static void FFMPEGThread(Context_t *context) {
if (avr) {
avresample_close(avr);
avresample_free(&avr);
if (decoded_frame)
avcodec_free_frame(&decoded_frame);
avcodec_free_frame(&decoded_frame);
}
#else
// Freeing the allocated buffer for softdecoding