From 94bed8e582eed1268ddc0d2b88cad21d8c638774 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 3 Jun 2011 11:42:07 +0200 Subject: 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 --- libavdevice/libdc1394.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice/libdc1394.c') 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; -- cgit v1.2.1