mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
af_lavcac3enc: use av_err2str() call (fixes Libav build)
I added this call because I thought it'd be nice, but Libav doesn't have this function (macro, actually).
This commit is contained in:
parent
e911e208b8
commit
1c3bbd9318
@ -29,7 +29,6 @@
|
||||
#include <libavutil/intreadwrite.h>
|
||||
#include <libavutil/common.h>
|
||||
#include <libavutil/bswap.h>
|
||||
#include <libavutil/error.h>
|
||||
#include <libavutil/mem.h>
|
||||
|
||||
#include "config.h"
|
||||
@ -293,7 +292,7 @@ static int filter_out(struct af_instance *af)
|
||||
if (lavc_ret == AVERROR(EAGAIN))
|
||||
break;
|
||||
if (lavc_ret < 0) {
|
||||
MP_FATAL(af, "Encode failed (%s).\n", av_err2str(lavc_ret));
|
||||
MP_FATAL(af, "Encode failed.\n");
|
||||
goto done;
|
||||
}
|
||||
s->input->samples = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user