diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-19 17:43:24 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-22 17:33:32 -0400 |
commit | d909f43b5c773a73c8d526638744547ba4aa8c59 (patch) | |
tree | 5ca5f60824d9fa0bb85c12e34d5e8f3f27ccbc02 /libavcodec/wmv2dec.c | |
parent | 0372e73f917e72c40b09270f771046fc142be4a7 (diff) | |
download | ffmpeg-d909f43b5c773a73c8d526638744547ba4aa8c59.tar.gz |
vc1dec: wmv2dec: Validate ff_intrax8_common_init return value
Diffstat (limited to 'libavcodec/wmv2dec.c')
-rw-r--r-- | libavcodec/wmv2dec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index ca8afe6f09..5bfedbd695 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -471,9 +471,7 @@ static av_cold int wmv2_decode_init(AVCodecContext *avctx) ff_wmv2_common_init(w); - ff_intrax8_common_init(&w->x8, &w->s); - - return 0; + return ff_intrax8_common_init(&w->x8, &w->s); } static av_cold int wmv2_decode_end(AVCodecContext *avctx) |