forked from jengelh/ffmpeg-6
Restore ffmpeg-new-coder-errors.diff
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-6?expand=0&rev=23
This commit is contained in:
23
ffmpeg-new-coder-errors.diff
Normal file
23
ffmpeg-new-coder-errors.diff
Normal file
@@ -0,0 +1,23 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2016-04-10 23:23:53.138440254 +0200
|
||||
|
||||
Improve the error messages a bit to say what's really going on
|
||||
(in light of openSUSE's reduced build).
|
||||
|
||||
---
|
||||
fftools/ffmpeg_dec.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: ffmpeg-6.1.1/fftools/ffmpeg_dec.c
|
||||
===================================================================
|
||||
--- ffmpeg-6.1.1.orig/fftools/ffmpeg_dec.c
|
||||
+++ ffmpeg-6.1.1/fftools/ffmpeg_dec.c
|
||||
@@ -1075,7 +1075,7 @@ int dec_open(InputStream *ist)
|
||||
|
||||
if (!codec) {
|
||||
av_log(ist, AV_LOG_ERROR,
|
||||
- "Decoding requested, but no decoder found for: %s\n",
|
||||
+ "Decoding was requested, but this build of ffmpeg does not include a \"%s\" decoder\n",
|
||||
avcodec_get_name(ist->dec_ctx->codec_id));
|
||||
return AVERROR(EINVAL);
|
||||
}
|
Reference in New Issue
Block a user