Skip to content

Commit 34d6f77

Browse files
committed
Increase FFmpeg error buffer size
1 parent 96f153d commit 34d6f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scan.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extern "C" {
5555
#include "output.hpp"
5656
#include "tag.hpp"
5757

58-
#define output_fferror(e, msg) char errbuf[256]; av_strerror(e, errbuf, sizeof(errbuf)); output_error(msg ": {}", errbuf)
58+
#define output_fferror(e, msg) char errbuf[1024]; av_strerror(e, errbuf, sizeof(errbuf)); output_error(msg ": {}", errbuf)
5959
#define OLD_CHANNEL_LAYOUT LIBAVUTIL_VERSION_MAJOR < 57 || (LIBAVUTIL_VERSION_MAJOR == 57 && LIBAVUTIL_VERSION_MINOR < 18)
6060
#define OUTPUT_FORMAT AV_SAMPLE_FMT_S16
6161

0 commit comments

Comments
 (0)