Re: [FFmpeg-devel] [PATCH v4 1/5] avformat: add av_program_add_stream_index2()

2023-02-20 Thread Anton Khirnov
Quoting Gyan Doshi (2023-02-18 05:49:45) > av_program_add_stream_index() added in 526efa10534 > may fail to carry out its purpose but the lack of > a return value stops callers from catching any error. av_program_add_stream_index() should be deprecated then -- Anton Khirnov _

[FFmpeg-devel] [PATCH v4 1/5] avformat: add av_program_add_stream_index2()

2023-02-17 Thread Gyan Doshi
av_program_add_stream_index() added in 526efa10534 may fail to carry out its purpose but the lack of a return value stops callers from catching any error. Fixed in new function. --- As suggested by Andreas in https://ffmpeg.org/pipermail/ffmpeg-devel/2023-February/306645.html doc/APIchanges