diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2009-02-16 16:14:34 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2009-02-16 16:14:34 +0000 |
commit | 49a06a4d25a47c4a99c0714a2a5e17282ec00c1b (patch) | |
tree | d060852460b8359c76b24661da9fec15b1a4068d /ffmpeg.c | |
parent | 0fd7c133f43130eb657f8b833cb14fb1ff71d16f (diff) | |
download | ffmpeg-49a06a4d25a47c4a99c0714a2a5e17282ec00c1b.tar.gz |
Change av_log() calls to fprintf() to stderr calls.
Originally committed as revision 17378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -888,7 +888,7 @@ static void do_video_out(AVFormatContext *s, if (ost->video_crop) { if (av_picture_crop((AVPicture *)&picture_crop_temp, (AVPicture *)in_picture, dec->pix_fmt, ost->topBand, ost->leftBand) < 0) { - av_log(NULL, AV_LOG_ERROR, "error cropping picture\n"); + fprintf(stderr, "error cropping picture\n"); if (exit_on_error) av_exit(1); return; @@ -905,7 +905,7 @@ static void do_video_out(AVFormatContext *s, final_picture = &ost->pict_tmp; if (ost->video_resample) { if (av_picture_crop((AVPicture *)&picture_pad_temp, (AVPicture *)final_picture, enc->pix_fmt, ost->padtop, ost->padleft) < 0) { - av_log(NULL, AV_LOG_ERROR, "error padding picture\n"); + fprintf(stderr, "error padding picture\n"); if (exit_on_error) av_exit(1); return; @@ -2754,11 +2754,11 @@ static enum CodecID find_codec_or_die(const char *name, int type, int encoder) avcodec_find_encoder_by_name(name) : avcodec_find_decoder_by_name(name); if(!codec) { - av_log(NULL, AV_LOG_ERROR, "Unknown %s '%s'\n", codec_string, name); + fprintf(stderr, "Unknown %s '%s'\n", codec_string, name); av_exit(1); } if(codec->type != type) { - av_log(NULL, AV_LOG_ERROR, "Invalid %s type '%s'\n", codec_string, name); + fprintf(stderr, "Invalid %s type '%s'\n", codec_string, name); av_exit(1); } return codec->id; |