mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
fftools/ffmpeg: add InputStream.index
This allows to avoid access to the underlying AVStream in many places.
This commit is contained in:
parent
cad59cccaf
commit
6abb4a28ef
6 changed files with 15 additions and 12 deletions
|
|
@ -792,7 +792,7 @@ static void new_stream_audio(Muxer *mux, const OptionsContext *o,
|
|||
ist = ost->ist;
|
||||
}
|
||||
|
||||
if (!ist || (ist->file_index == map->file_idx && ist->st->index == map->stream_idx)) {
|
||||
if (!ist || (ist->file_index == map->file_idx && ist->index == map->stream_idx)) {
|
||||
if (av_reallocp_array(&ost->audio_channels_map,
|
||||
ost->audio_channels_mapped + 1,
|
||||
sizeof(*ost->audio_channels_map)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue