[FFmpeg-devel] [PATCH] normalize calls to ff_alloc_packet2

Michael Niedermayer michaelni at gmx.at
Wed Mar 6 22:59:33 CET 2013


On Wed, Mar 06, 2013 at 11:11:00AM -0800, James Zern wrote:
> - check ret < 0
> - remove excessive error log
> ---
>  libavcodec/aacenc.c          | 4 +---
>  libavcodec/ac3enc_template.c | 2 +-
>  libavcodec/adpcmenc.c        | 2 +-
>  libavcodec/alacenc.c         | 2 +-
>  libavcodec/dcaenc.c          | 2 +-
>  libavcodec/flacenc.c         | 2 +-
>  libavcodec/g722enc.c         | 2 +-
>  libavcodec/g723_1.c          | 2 +-
>  libavcodec/g726.c            | 2 +-
>  libavcodec/libaacplus.c      | 2 +-
>  libavcodec/libfaac.c         | 4 +---
>  libavcodec/libfdk-aacenc.c   | 2 +-
>  libavcodec/libgsm.c          | 2 +-
>  libavcodec/libmp3lame.c      | 2 +-
>  libavcodec/libopencore-amr.c | 2 +-
>  libavcodec/libspeexenc.c     | 2 +-
>  libavcodec/libtwolame.c      | 2 +-
>  libavcodec/libvo-aacenc.c    | 2 +-
>  libavcodec/libvo-amrwbenc.c  | 2 +-
>  libavcodec/libvorbisenc.c    | 2 +-
>  libavcodec/mpegaudioenc.c    | 2 +-
>  libavcodec/nellymoserenc.c   | 2 +-
>  libavcodec/pcm.c             | 2 +-
>  libavcodec/ra144enc.c        | 2 +-
>  libavcodec/roqaudioenc.c     | 2 +-
>  libavcodec/sonic.c           | 2 +-
>  libavcodec/vorbisenc.c       | 2 +-
>  libavcodec/wmaenc.c          | 2 +-
>  28 files changed, 28 insertions(+), 32 deletions(-)

applied

thanks

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

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- 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/20130306/8af70a5c/attachment.asc>


More information about the ffmpeg-devel mailing list