[FFmpeg-devel] [PATCH] lavc/utils: in avcodec_decode_video2() return proper error code instead of -1

Michael Niedermayer michaelni at gmx.at
Fri Jun 15 00:43:38 CEST 2012


On Thu, Jun 14, 2012 at 11:02:28PM +0200, Stefano Sabatini wrote:
> Return AVERROR(EINVAL) in case of invalid coded size.
> ---
>  libavcodec/utils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- 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/20120615/302c63d9/attachment.asc>


More information about the ffmpeg-devel mailing list