fftools/ffmpeg_mux: move bsf_ctx from OutputStream to MuxStream

It is private to the muxer and does not need to be visible outside of
it.
This commit is contained in:
Anton Khirnov
2022-10-14 11:34:26 +02:00
parent 2266e04834
commit f0cd68eea0
4 changed files with 13 additions and 10 deletions

View File

@ -304,7 +304,7 @@ static OutputStream *new_output_stream(Muxer *mux, OptionsContext *o,
MATCH_PER_STREAM_OPT(bitstream_filters, str, bsfs, oc, st);
if (bsfs && *bsfs) {
ret = av_bsf_list_parse_str(bsfs, &ost->bsf_ctx);
ret = av_bsf_list_parse_str(bsfs, &ms->bsf_ctx);
if (ret < 0) {
av_log(NULL, AV_LOG_ERROR, "Error parsing bitstream filter sequence '%s': %s\n", bsfs, av_err2str(ret));
exit_program(1);