summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/fmt-conversion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/fmt-conversion.c b/audio/fmt-conversion.c
index 6072305424..5550e698d9 100644
--- a/audio/fmt-conversion.c
+++ b/audio/fmt-conversion.c
@@ -46,7 +46,7 @@ enum AVSampleFormat af_to_avformat(int fmt)
if (audio_conversion_map[i].fmt == fmt)
return audio_conversion_map[i].sample_fmt;
}
- return 0;
+ return AV_SAMPLE_FMT_NONE;
}
int af_from_avformat(enum AVSampleFormat sample_fmt)