From 9736f3309acf387e42aef847f594463e3351bbc2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 20 Jul 2014 20:42:03 +0200 Subject: audio: use symbolic constants instead of magic integers Similar to commit 26468743. --- audio/decode/ad_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/decode/ad_lavc.c') diff --git a/audio/decode/ad_lavc.c b/audio/decode/ad_lavc.c index 404cf19560..ad00e65be6 100644 --- a/audio/decode/ad_lavc.c +++ b/audio/decode/ad_lavc.c @@ -398,7 +398,7 @@ static int decode_audio(struct dec_audio *da, struct mp_audio *buffer, int maxle if (!priv->frame.samples) { if (decode_new_packet(da) < 0) - return -1; + return AD_ERR; } if (!mp_audio_config_equals(buffer, &priv->frame)) -- cgit v1.2.3