[FFmpeg-devel] missing } for { in libavcodec/g729dec.c patch included
DJ Cozatt
ygdrasil at comcast.net
Fri Jul 15 01:11:21 CEST 2011
Running cppcheck against the git version of ffmpeg it claimed an invalid
number of character ({) in line 200
traced the issue to a missing } and added re-ran the analyzer no error
reported for this file.
add-missing-bracket.path David J Cozatt aka user99
--- libavcodec/g729dec.orig 2011-07-13 22:37:34.226825065 -0400
+++ libavcodec/g729dec.c 2011-07-13 00:32:45.680889697 -0400
@@ -309,7 +309,7 @@
(!voicing && frame_erasure) ? 0 :
ctx->gain_pitch,
( voicing && frame_erasure) ? 0 :
ctx->gain_code,
1 << 13, 14, SUBFRAME_SIZE);
-
+ }
ctx->pitch_delay_int_prev = pitch_delay_int;
}
More information about the ffmpeg-devel
mailing list