Lines Matching refs:file_idx
640 static OutputStream *new_output_stream(AVFormatContext *oc, int file_idx, AVCodec *codec)
651 output_streams_for_file[file_idx] =
652 grow_array(output_streams_for_file[file_idx],
653 sizeof(*output_streams_for_file[file_idx]),
654 &nb_output_streams_for_file[file_idx],
656 ost = output_streams_for_file[file_idx][idx] =
662 ost->file_index = file_idx;
3397 static void new_video_stream(AVFormatContext *oc, int file_idx)
3415 ost = new_output_stream(oc, file_idx, codec);
3528 static void new_audio_stream(AVFormatContext *oc, int file_idx)
3545 ost = new_output_stream(oc, file_idx, codec);
3589 static void new_data_stream(AVFormatContext *oc, int file_idx)
3595 ost = new_output_stream(oc, file_idx, NULL);
3620 static void new_subtitle_stream(AVFormatContext *oc, int file_idx)
3637 ost = new_output_stream(oc, file_idx, codec);
3671 int file_idx = nb_output_files - 1;
3676 oc = output_files[file_idx];
3678 if (!strcmp(opt, "newvideo" )) new_video_stream (oc, file_idx);
3679 else if (!strcmp(opt, "newaudio" )) new_audio_stream (oc, file_idx);
3680 else if (!strcmp(opt, "newsubtitle")) new_subtitle_stream(oc, file_idx);
3681 else if (!strcmp(opt, "newdata" )) new_data_stream (oc, file_idx);