forked from pool/ffmpeg-6
Jan Engelhardt
6077246dc4
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-6?expand=0&rev=37
24 lines
843 B
Diff
24 lines
843 B
Diff
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);
|
|
}
|