You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
move free() of AVStream priv data to av_write_trailer()
Originally committed as revision 3548 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1012,9 +1012,6 @@ static int mpeg_mux_end(AVFormatContext *ctx)
|
||||
//put_be32(&ctx->pb, ISO_11172_END_CODE);
|
||||
//put_flush_packet(&ctx->pb);
|
||||
|
||||
for(i=0;i<ctx->nb_streams;i++)
|
||||
av_freep(&ctx->streams[i]->priv_data);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif //CONFIG_ENCODERS
|
||||
|
||||
Reference in New Issue
Block a user