From 35e559ae32f22153198bb54a79015982403c704f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 10 Jan 2015 13:59:46 +0100 Subject: avcodec/cavs: Check for av_malloc* failure in ff_cavs_init_top_lines() Signed-off-by: Michael Niedermayer --- libavcodec/cavs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cavs.h') diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index 12f396228e..fb9df15194 100644 --- a/libavcodec/cavs.h +++ b/libavcodec/cavs.h @@ -272,7 +272,7 @@ void ff_cavs_mv(AVSContext *h, enum cavs_mv_loc nP, enum cavs_mv_loc nC, void ff_cavs_init_mb(AVSContext *h); int ff_cavs_next_mb(AVSContext *h); int ff_cavs_init_pic(AVSContext *h); -void ff_cavs_init_top_lines(AVSContext *h); +int ff_cavs_init_top_lines(AVSContext *h); int ff_cavs_init(AVCodecContext *avctx); int ff_cavs_end (AVCodecContext *avctx); -- cgit v1.2.3