mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3/container_ffmpeg: cleanup
This commit is contained in:
@@ -1083,8 +1083,7 @@ static void FFMPEGThread(Context_t *context) {
|
|||||||
if (avr) {
|
if (avr) {
|
||||||
avresample_close(avr);
|
avresample_close(avr);
|
||||||
avresample_free(&avr);
|
avresample_free(&avr);
|
||||||
if (decoded_frame)
|
avcodec_free_frame(&decoded_frame);
|
||||||
avcodec_free_frame(&decoded_frame);
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// Freeing the allocated buffer for softdecoding
|
// Freeing the allocated buffer for softdecoding
|
||||||
|
Reference in New Issue
Block a user