On Thu, Feb 19, 2015 at 5:04 PM, Vittorio Giovara <[email protected]> wrote: > --- > This takes care of all remaining *alloc* checks in libavcodec. > It's grouped in a single patch since it's nothing more than > if (!var) return AVERROR(ENOMEM); > for the most part (no propagation or return type changes). > > These are all spotted thanks to Coverity and a proper model file. > Cheers, > Vittorio > > libavcodec/aacpsy.c | 6 ++++++ > libavcodec/asvenc.c | 2 ++ > libavcodec/dct.c | 2 ++ > libavcodec/eatgv.c | 2 ++ > libavcodec/ffv1.c | 2 ++ > libavcodec/flacenc.c | 2 ++ > libavcodec/huffyuvenc.c | 2 +- > libavcodec/jpeglsdec.c | 8 ++++++++ > libavcodec/jpeglsenc.c | 6 ++++++ > libavcodec/lclenc.c | 2 ++ > libavcodec/libtheoraenc.c | 6 ++++++ > libavcodec/libx264.c | 4 ++++ > libavcodec/libxvid.c | 6 ++++++ > libavcodec/psymodel.c | 12 ++++++++++++ > libavcodec/pthread_frame.c | 5 +++++ > libavcodec/ratecontrol.c | 5 +++++ > libavcodec/svq1enc.c | 8 ++++++++ > libavcodec/truemotion2.c | 9 +++++++++ > libavcodec/wmaenc.c | 4 ++++ > libavcodec/xsubdec.c | 13 +++++++++++++ > 20 files changed, 105 insertions(+), 1 deletion(-)
Umh ping? Also please note that the model file used profiled multiple functions, not just one. -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
