mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 04:26:37 +08:00 
			
		
		
		
	set log debug when avformat debug is set
Originally committed as revision 13750 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							
								
								
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ffmpeg.c
									
									
									
									
									
								
							| @@ -2214,7 +2214,7 @@ static int opt_default(const char *opt, const char *arg){ | ||||
|     opt_names= av_realloc(opt_names, sizeof(void*)*(opt_name_count+1)); | ||||
|     opt_names[opt_name_count++]= o->name; | ||||
|  | ||||
|     if(avctx_opts[0]->debug) | ||||
|     if(avctx_opts[0]->debug || avformat_opts->debug) | ||||
|         av_log_set_level(AV_LOG_DEBUG); | ||||
|     return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Baptiste Coudurier
					Baptiste Coudurier