diff options
author | Martin Storsjö <martin@martin.st> | 2012-11-06 12:18:57 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-11-07 00:48:50 +0200 |
commit | ad961726dc0bec7435aae7fbab10471b9063018b (patch) | |
tree | 1141e38fd697b530bca5a913b294ab285371b094 /libavcodec/ac3dec.c | |
parent | e6c4c0f7cfaf0378a70f6f7f0611d4c21433067a (diff) | |
download | ffmpeg-ad961726dc0bec7435aae7fbab10471b9063018b.tar.gz |
libopencore-amr: Check the return value of amr_decode_fix_avctx
This allows getting rid of redundant checks later in the codec
specific init functions.
Move the check to before actually initializing the decoder lib,
to simplify error handling.
This fixes a case of returning a value from a void function, present since
d40dab907.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/ac3dec.c')
0 files changed, 0 insertions, 0 deletions