aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2012-01-20 01:52:49 +0600
committerMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>2012-02-16 02:34:31 +0600
commit59df25effd438ed3120aacc83e74676334adf560 (patch)
tree0f8663bed7aeb330aa24f7b0eb2ac42e96afa1d3
parent3ce50bf51d359bd0cbb03d4719e4ace2dd3572b5 (diff)
downloadffmpeg-59df25effd438ed3120aacc83e74676334adf560.tar.gz
Move some variable declarations to comply with C90
-rw-r--r--libavcodec/wmalosslessdec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index c30a01c922..9b32e7e463 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);