[FFmpeg-devel] [PATCH] Check for avio fail in avformat_write_header, av_write_frame

Michael Niedermayer michaelni at gmx.at
Tue Aug 14 16:28:45 CEST 2012

On Tue, Aug 14, 2012 at 12:48:45PM +0300, Andrey Utkin wrote:
> ---
>  libavformat/utils.c |   12 +++++++++---
>  1 files changed, 9 insertions(+), 3 deletions(-)

applied with some changes (the first hunk for example would have
returned a positive value in case of error)
ive also change things to favor the return code over the pb->error
if both are indicating an error


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120814/705e5666/attachment.asc>

More information about the ffmpeg-devel mailing list