[FFmpeg-devel] [PATCH] Return ENOMEM on avcodec_open memory allocation failure

Panagiotis Issaris panagiotis
Fri Jul 20 15:20:04 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Return AVERROR(ENOMEM) on memory allocation failure of avcodec_open.

 utils.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGoLaD9kOxLuzz4CkRAkqQAJ4t6YOsSRe90s47H+6IR6DJORt01gCfWyLg
w76pSycKP8G/+KzzAM2XpAw=
=uTEP
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070720T151452-ffmpeg-av_codec_open_nomem.diff
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070720/2507faea/attachment.bin>



More information about the ffmpeg-devel mailing list