use AVFormatContext to log
Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		@@ -645,7 +645,7 @@ static int gxf_write_header(AVFormatContext *s)
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
                break;
 | 
					                break;
 | 
				
			||||||
            default:
 | 
					            default:
 | 
				
			||||||
                av_log(NULL, AV_LOG_ERROR, "video codec not supported\n");
 | 
					                av_log(s, AV_LOG_ERROR, "video codec not supported\n");
 | 
				
			||||||
                return -1;
 | 
					                return -1;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user