summaryrefslogtreecommitdiff
path: root/libavcodec/libvpxenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-11-06 12:18:57 +0200
committerMartin Storsjö <martin@martin.st>2012-11-07 00:48:50 +0200
commitad961726dc0bec7435aae7fbab10471b9063018b (patch)
tree1141e38fd697b530bca5a913b294ab285371b094 /libavcodec/libvpxenc.c
parente6c4c0f7cfaf0378a70f6f7f0611d4c21433067a (diff)
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/libvpxenc.c')
0 files changed, 0 insertions, 0 deletions