From 22c8cbc0da8be2ba80190d42d381f63da389734f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 6 Oct 2012 13:29:37 +0200 Subject: lavu,lavd: do not use av_pix_fmt_descriptors directly. --- libavdevice/fbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice/fbdev.c') diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c index fffe655ab5..7680b29fb3 100644 --- a/libavdevice/fbdev.c +++ b/libavdevice/fbdev.c @@ -171,7 +171,7 @@ static av_cold int fbdev_read_header(AVFormatContext *avctx) av_log(avctx, AV_LOG_INFO, "w:%d h:%d bpp:%d pixfmt:%s fps:%d/%d bit_rate:%d\n", fbdev->width, fbdev->height, fbdev->varinfo.bits_per_pixel, - av_pix_fmt_descriptors[pix_fmt].name, + av_get_pix_fmt_name(pix_fmt), fbdev->framerate_q.num, fbdev->framerate_q.den, st->codec->bit_rate); return 0; -- cgit v1.2.3