OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dec851
)
alsdec: minor simplification in read_block()
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jul 2013 10:36:52 +0000
(12:36 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 24 Jul 2013 10:36:52 +0000
(12:36 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/alsdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/alsdec.c
b/libavcodec/alsdec.c
index
038b1a8
..
53856a1
100644
(file)
--- a/
libavcodec/alsdec.c
+++ b/
libavcodec/alsdec.c
@@
-983,8
+983,7
@@
static int read_block(ALSDecContext *ctx, ALSBlockData *bd)
if (get_bits1(gb)) {
ret = read_var_block_data(ctx, bd);
} else {
- if ((ret = read_const_block_data(ctx, bd)) < 0)
- return ret;
+ ret = read_const_block_data(ctx, bd);
}
return ret;