diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2016-01-21 08:22:40 +0530 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2016-01-22 19:26:24 +0530 |
commit | 89189b1010ded0a6cbc487ae36f2f95409aa699f (patch) | |
tree | e26bfaa2f1ae4332fee59c114828a02d53246cdd | |
parent | 70ece6ccd0c3c0f324941d6173bcfa4d51f0c6d7 (diff) | |
download | ffmpeg-89189b1010ded0a6cbc487ae36f2f95409aa699f.tar.gz |
lavc/wma: add av_warn_unused_result to ff_wma_init
May help to prevent incidents like 19e456d48c90a1e3ceeb9e6241383384cc73dfdf.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-rw-r--r-- | libavcodec/wma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/wma.h b/libavcodec/wma.h index 4aad713fa8..325f03c44b 100644 --- a/libavcodec/wma.h +++ b/libavcodec/wma.h @@ -144,7 +144,9 @@ extern const float ff_wma_lsp_codebook[NB_LSP_COEFS][16]; extern const uint32_t ff_aac_scalefactor_code[121]; extern const uint8_t ff_aac_scalefactor_bits[121]; +av_warn_unused_result int ff_wma_init(AVCodecContext *avctx, int flags2); + int ff_wma_total_gain_to_bits(int total_gain); int ff_wma_end(AVCodecContext *avctx); unsigned int ff_wma_get_large_val(GetBitContext *gb); |