Originally committed as revision 17378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benoit Fouet authored on 2009/02/17 01:14:34... | ... |
@@ -888,7 +888,7 @@ static void do_video_out(AVFormatContext *s, |
888 | 888 |
|
889 | 889 |
if (ost->video_crop) { |
890 | 890 |
if (av_picture_crop((AVPicture *)&picture_crop_temp, (AVPicture *)in_picture, dec->pix_fmt, ost->topBand, ost->leftBand) < 0) { |
891 |
- av_log(NULL, AV_LOG_ERROR, "error cropping picture\n"); |
|
891 |
+ fprintf(stderr, "error cropping picture\n"); |
|
892 | 892 |
if (exit_on_error) |
893 | 893 |
av_exit(1); |
894 | 894 |
return; |
... | ... |
@@ -905,7 +905,7 @@ static void do_video_out(AVFormatContext *s, |
905 | 905 |
final_picture = &ost->pict_tmp; |
906 | 906 |
if (ost->video_resample) { |
907 | 907 |
if (av_picture_crop((AVPicture *)&picture_pad_temp, (AVPicture *)final_picture, enc->pix_fmt, ost->padtop, ost->padleft) < 0) { |
908 |
- av_log(NULL, AV_LOG_ERROR, "error padding picture\n"); |
|
908 |
+ fprintf(stderr, "error padding picture\n"); |
|
909 | 909 |
if (exit_on_error) |
910 | 910 |
av_exit(1); |
911 | 911 |
return; |
... | ... |
@@ -2754,11 +2754,11 @@ static enum CodecID find_codec_or_die(const char *name, int type, int encoder) |
2754 | 2754 |
avcodec_find_encoder_by_name(name) : |
2755 | 2755 |
avcodec_find_decoder_by_name(name); |
2756 | 2756 |
if(!codec) { |
2757 |
- av_log(NULL, AV_LOG_ERROR, "Unknown %s '%s'\n", codec_string, name); |
|
2757 |
+ fprintf(stderr, "Unknown %s '%s'\n", codec_string, name); |
|
2758 | 2758 |
av_exit(1); |
2759 | 2759 |
} |
2760 | 2760 |
if(codec->type != type) { |
2761 |
- av_log(NULL, AV_LOG_ERROR, "Invalid %s type '%s'\n", codec_string, name); |
|
2761 |
+ fprintf(stderr, "Invalid %s type '%s'\n", codec_string, name); |
|
2762 | 2762 |
av_exit(1); |
2763 | 2763 |
} |
2764 | 2764 |
return codec->id; |