[FFmpeg-devel] [PATCH 06/11] avformat: Improve returned error codes
Michael Niedermayer
michael at niedermayer.cc
Wed Jan 8 02:39:19 EET 2020
On Tue, Jan 07, 2020 at 02:55:44PM +0100, Andreas Rheinhardt wrote:
> This commit improves returned error codes by forwarding error codes. In
> some instances, the hardcoded returned error codes made no sense at all:
> The normal error code for failure of av_new_packet() is AVERROR(ENOMEM),
> yet there were instances where AVERROR(EIO) was returned.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavformat/4xm.c | 8 +++++---
> libavformat/flic.c | 13 +++++--------
> libavformat/idroqdec.c | 5 +++--
> libavformat/psxstr.c | 11 ++++++-----
> libavformat/rmdec.c | 8 ++++----
> libavformat/vqf.c | 4 ++--
> 6 files changed, 25 insertions(+), 24 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200108/227c2387/attachment.sig>
More information about the ffmpeg-devel
mailing list