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 /libavdevice/libdc1394.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 'libavdevice/libdc1394.c')
-rw-r--r-- | libavdevice/libdc1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c index 2811e3b97d..b17d0fb441 100644 --- a/libavdevice/libdc1394.c +++ b/libavdevice/libdc1394.c @@ -162,7 +162,7 @@ static inline int dc1394_read_common(AVFormatContext *c, AVFormatParameters *ap, break; if (!fps->frame_rate || !fmt->width) { - av_log(c, AV_LOG_ERROR, "Can't find matching camera format for %s, %dx%d@%d:1000fps\n", avcodec_get_pix_fmt_name(pix_fmt), + av_log(c, AV_LOG_ERROR, "Can't find matching camera format for %s, %dx%d@%d:1000fps\n", av_get_pix_fmt_name(pix_fmt), width, height, dc1394->frame_rate); ret = AVERROR(EINVAL); goto out; |