diff options
author | wm4 <wm4@nowhere> | 2013-11-07 22:19:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-07 23:59:38 +0100 |
commit | 0fed032ca0b64084635458f7b9b958685add2ce9 (patch) | |
tree | 7e9a1ac5470c64f112866f0d87aaa603c2f9e248 | |
parent | 96532916fe7969ffa2f963edd3f66fae5169a493 (diff) | |
download | mpv-0fed032ca0b64084635458f7b9b958685add2ce9.tar.bz2 mpv-0fed032ca0b64084635458f7b9b958685add2ce9.tar.xz |
audio: fix bogus audio format comparison
-rw-r--r-- | audio/fmt-conversion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/fmt-conversion.c b/audio/fmt-conversion.c index ce2a9054bf..1568b15102 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_fmt2str_short(fmt)); return sample_fmt; |