mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
fix close files
This commit is contained in:
@@ -2240,6 +2240,7 @@ static int32_t container_ffmpeg_stop(Context_t *context)
|
||||
* avformat_close_input do not expect custom io, so it try
|
||||
* to release incorrectly
|
||||
*/
|
||||
fclose(avContextTab[i]->pb->opaque);
|
||||
av_freep(&(avContextTab[i]->pb->buffer));
|
||||
av_freep(&(avContextTab[i]->pb));
|
||||
use_custom_io[i] = 0;
|
||||
@@ -2681,4 +2682,4 @@ Container_t FFMPEGContainer =
|
||||
"FFMPEG",
|
||||
&Command,
|
||||
FFMPEG_Capabilities
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user