summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 18:12:57 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:11 +0100
commit95d94238f4ad99b1da84b96d7692d25a800cc982 (patch)
treef21266854509e4da73480125dafb0a404f45a3b4 /video
parent823bf0029de2e4197129eb7cf714643e0d5ce000 (diff)
downloadmpv-95d94238f4ad99b1da84b96d7692d25a800cc982.tar.bz2
mpv-95d94238f4ad99b1da84b96d7692d25a800cc982.tar.xz
img_format: drop message about unknown pixel formats
Too bad.
Diffstat (limited to 'video')
-rw-r--r--video/img_format.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/video/img_format.c b/video/img_format.c
index dad428fc29..1d0b7c4a72 100644
--- a/video/img_format.c
+++ b/video/img_format.c
@@ -161,14 +161,8 @@ struct mp_imgfmt_desc mp_imgfmt_get_desc(int mpfmt)
{
enum AVPixelFormat fmt = imgfmt2pixfmt(mpfmt);
const AVPixFmtDescriptor *pd = av_pix_fmt_desc_get(fmt);
- if (!pd || fmt == AV_PIX_FMT_NONE) {
- const char *name = mp_imgfmt_to_name(mpfmt);
- if (name) {
- mp_msg(MSGT_DECVIDEO, MSGL_V,
- "libavutil does not know image format '%s'\n", name);
- }
+ if (!pd || fmt == AV_PIX_FMT_NONE)
return (struct mp_imgfmt_desc) {0};
- }
struct mp_imgfmt_desc desc = {
.id = mpfmt,