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