[FFmpeg-cvslog] Move some variable declarations to comply with C90
Mashiat Sarker Shakkhar
git at videolan.org
Thu Feb 16 04:17:05 CET 2012
ffmpeg | branch: master | Mashiat Sarker Shakkhar <shahriman_ams at yahoo.com> | Fri Jan 20 01:52:49 2012 +0600| [59df25effd438ed3120aacc83e74676334adf560] | committer: Mashiat Sarker Shakkhar
Move some variable declarations to comply with C90
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59df25effd438ed3120aacc83e74676334adf560
---
libavcodec/wmalosslessdec.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index c30a01c..9b32e7e 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -1418,6 +1418,8 @@ static int decode_packet(AVCodecContext *avctx,
int buf_size = avpkt->size;
int num_bits_prev_frame;
int packet_sequence_number;
+ int seekable_frame_in_packet;
+ int spliced_packet;
if (s->bits_per_sample == 16) {
s->samples_16 = (int16_t *) data;
@@ -1442,8 +1444,8 @@ static int decode_packet(AVCodecContext *avctx,
/** parse packet header */
init_get_bits(gb, buf, s->buf_bit_size);
packet_sequence_number = get_bits(gb, 4);
- int seekable_frame_in_packet = get_bits1(gb);
- int spliced_packet = get_bits1(gb);
+ seekable_frame_in_packet = get_bits1(gb);
+ spliced_packet = get_bits1(gb);
/** get number of bits that need to be added to the previous frame */
num_bits_prev_frame = get_bits(gb, s->log2_frame_size);
More information about the ffmpeg-cvslog
mailing list