You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	doc: fix examples.
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							b1b506bc56
						
					
				
				
					commit
					5e4bc96415
				
			| @@ -207,7 +207,7 @@ int main(int argc, char **argv) | ||||
|  | ||||
|             if (got_frame) { | ||||
|                 /* push the audio data from decoded frame into the filtergraph */ | ||||
|                 if (av_buffersrc_add_frame(buffersrc_ctx, frame, 0) < 0) { | ||||
|                 if (av_buffersrc_add_frame(buffersrc_ctx, frame) < 0) { | ||||
|                     av_log(NULL, AV_LOG_ERROR, "Error while feeding the audio filtergraph\n"); | ||||
|                     break; | ||||
|                 } | ||||
|   | ||||
| @@ -213,7 +213,7 @@ int main(int argc, char **argv) | ||||
|                 frame->pts = av_frame_get_best_effort_timestamp(frame); | ||||
|  | ||||
|                 /* push the decoded frame into the filtergraph */ | ||||
|                 if (av_buffersrc_add_frame(buffersrc_ctx, frame, 0) < 0) { | ||||
|                 if (av_buffersrc_add_frame(buffersrc_ctx, frame) < 0) { | ||||
|                     av_log(NULL, AV_LOG_ERROR, "Error while feeding the filtergraph\n"); | ||||
|                     break; | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user