Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-06 15:29:37 +0400
committerAnton Khirnov <anton@khirnov.net>2012-10-12 14:45:39 +0400
commit22c8cbc0da8be2ba80190d42d381f63da389734f (patch)
treefd8c450a95415b35ebc9a3f7bbb1a1e6979fa886 /libavdevice
parent59ee9f78b0cc4fb84ae606fa317d8102ad32a627 (diff)
lavu,lavd: do not use av_pix_fmt_descriptors directly.
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/fbdev.c2
1 files changed, 1 insertions, 1 deletions
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;