| 
																	
																	
																		
																	
																	
																 | 
																@@ -1621,6 +1621,17 @@ loop_end: | 
															
														
														
													
														
															
																 | 
																 | 
																    } | 
																 | 
																 | 
																    } | 
															
														
														
													
														
															
																 | 
																 | 
																    av_dict_free(&unused_opts); | 
																 | 
																 | 
																    av_dict_free(&unused_opts); | 
															
														
														
													
														
															
																 | 
																 | 
																
  | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    /* set the encoding/decoding_needed flags */ | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    for (i = of->ost_index; i < nb_output_streams; i++) { | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																        OutputStream *ost = output_streams[i]; | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																        ost->encoding_needed = !ost->stream_copy; | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																        if (ost->encoding_needed && ost->source_index >= 0) { | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																            InputStream *ist = input_streams[ost->source_index]; | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																            ist->decoding_needed = 1; | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																        } | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																    } | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																
  | 
															
														
														
													
														
															
																 | 
																 | 
																    /* check filename in case of an image number is expected */ | 
																 | 
																 | 
																    /* check filename in case of an image number is expected */ | 
															
														
														
													
														
															
																 | 
																 | 
																    if (oc->oformat->flags & AVFMT_NEEDNUMBER) { | 
																 | 
																 | 
																    if (oc->oformat->flags & AVFMT_NEEDNUMBER) { | 
															
														
														
													
														
															
																 | 
																 | 
																        if (!av_filename_number_test(oc->filename)) { | 
																 | 
																 | 
																        if (!av_filename_number_test(oc->filename)) { | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																	
																	
																	
																 | 
																
  |