|
@@ -510,7 +510,12 @@ static void ffmpeg_cleanup(int ret) |
|
|
} |
|
|
} |
|
|
for (i = 0; i < nb_output_streams; i++) { |
|
|
for (i = 0; i < nb_output_streams; i++) { |
|
|
OutputStream *ost = output_streams[i]; |
|
|
OutputStream *ost = output_streams[i]; |
|
|
AVBitStreamFilterContext *bsfc = ost->bitstream_filters; |
|
|
|
|
|
|
|
|
AVBitStreamFilterContext *bsfc; |
|
|
|
|
|
|
|
|
|
|
|
if (!ost) |
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
bsfc = ost->bitstream_filters; |
|
|
while (bsfc) { |
|
|
while (bsfc) { |
|
|
AVBitStreamFilterContext *next = bsfc->next; |
|
|
AVBitStreamFilterContext *next = bsfc->next; |
|
|
av_bitstream_filter_close(bsfc); |
|
|
av_bitstream_filter_close(bsfc); |
|
|