use AVFormatContext to log

Originally committed as revision 6731 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-10-18 15:10:14 +00:00
parent 3d1eed611b
commit 99fd05cbdd

View File

@ -645,7 +645,7 @@ static int gxf_write_header(AVFormatContext *s)
}
break;
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;
}
}