File ffmpeg-new-coder-errors.diff of Package A_tw-ffmpeg-7
24
1
From: Jan Engelhardt <jengelh@inai.de>
2
Date: 2016-04-10 23:23:53.138440254 +0200
3
4
Improve the error messages a bit to say what's really going on
5
(in light of openSUSE's reduced build).
6
7
---
8
fftools/ffmpeg_demux.c | 2 +-
9
1 file changed, 1 insertion(+), 1 deletion(-)
10
11
Index: ffmpeg-7.0/fftools/ffmpeg_demux.c
12
===================================================================
13
--- ffmpeg-7.0.orig/fftools/ffmpeg_demux.c
14
+++ ffmpeg-7.0/fftools/ffmpeg_demux.c
15
16
17
if (decoding_needed && !ist->dec) {
18
av_log(ist, AV_LOG_ERROR,
19
- "Decoding requested, but no decoder found for: %s\n",
20
+ "Decoding was requested, but this build of ffmpeg does not include a \"%s\" decoder\n",
21
avcodec_get_name(ist->par->codec_id));
22
return AVERROR(EINVAL);
23
}
24