From de577d4e7963cc3f5e42cac41cd1485bb7d97883 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 Nov 2013 22:19:19 +0100 Subject: audio: fix bogus audio format comparison --- audio/fmt-conversion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/fmt-conversion.c b/audio/fmt-conversion.c index bb32361ce5..8a61a1c6b7 100644 --- a/audio/fmt-conversion.c +++ b/audio/fmt-conversion.c @@ -43,7 +43,7 @@ enum AVSampleFormat af_to_avformat(int fmt) if (audio_conversion_map[i].fmt == fmt) break; sample_fmt = audio_conversion_map[i].sample_fmt; - if (sample_fmt == AF_FORMAT_UNKNOWN) + if (sample_fmt == AV_SAMPLE_FMT_NONE) mp_msg(MSGT_GLOBAL, MSGL_V, "Unsupported sample format: %s\n", af_fmt_to_str(fmt)); return sample_fmt; -- cgit v1.2.3