diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-03 11:42:07 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-03 13:55:55 +0200 |
commit | 94bed8e582eed1268ddc0d2b88cad21d8c638774 (patch) | |
tree | f2f10756ea236656e7305c5b06b832261efbb6c1 /ffmpeg.c | |
parent | 93d06bd1df73861c73bc12c659aecdf404d1de2a (diff) | |
download | ffmpeg-94bed8e582eed1268ddc0d2b88cad21d8c638774.tar.gz |
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1171,8 +1171,8 @@ static void do_video_out(AVFormatContext *s, av_log(NULL, AV_LOG_INFO, "Input stream #%d.%d frame changed from size:%dx%d fmt:%s to size:%dx%d fmt:%s\n", ist->file_index, ist->st->index, - ost->resample_width, ost->resample_height, avcodec_get_pix_fmt_name(ost->resample_pix_fmt), - dec->width , dec->height , avcodec_get_pix_fmt_name(dec->pix_fmt)); + ost->resample_width, ost->resample_height, av_get_pix_fmt_name(ost->resample_pix_fmt), + dec->width , dec->height , av_get_pix_fmt_name(dec->pix_fmt)); if(!ost->video_resample) ffmpeg_exit(1); } |