diff options
Diffstat (limited to 'audio/decode/ad_lavc.c')
-rw-r--r-- | audio/decode/ad_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |