[MPlayer-cvslog] r36666 - trunk/libmpdemux/demux_roq.c
reimar
subversion at mplayerhq.hu
Mon Jan 20 23:08:35 CET 2014
Author: reimar
Date: Mon Jan 20 23:08:35 2014
New Revision: 36666
Log:
demux_roq: declare variables where they are used.
Modified:
trunk/libmpdemux/demux_roq.c
Modified: trunk/libmpdemux/demux_roq.c
==============================================================================
--- trunk/libmpdemux/demux_roq.c Mon Jan 20 23:08:34 2014 (r36665)
+++ trunk/libmpdemux/demux_roq.c Mon Jan 20 23:08:35 2014 (r36666)
@@ -109,9 +109,6 @@ static demuxer_t* demux_open_roq(demuxer
sh_audio_t *sh_audio = NULL;
roq_data_t *roq_data = calloc(1, sizeof(*roq_data));
- int chunk_id;
- int chunk_size;
- int chunk_arg;
int last_chunk_id = 0;
int largest_audio_chunk = 0;
int fps;
@@ -121,9 +118,9 @@ static demuxer_t* demux_open_roq(demuxer
fps = stream_read_word_le(demuxer->stream);
while (!stream_eof(demuxer->stream))
{
- chunk_id = stream_read_word_le(demuxer->stream);
- chunk_size = stream_read_dword_le(demuxer->stream);
- chunk_arg = stream_read_word_le(demuxer->stream);
+ int chunk_id = stream_read_word_le(demuxer->stream);
+ int chunk_size = stream_read_dword_le(demuxer->stream);
+ int chunk_arg = stream_read_word_le(demuxer->stream);
// this is the only useful header info in the file
if (chunk_id == RoQ_INFO)
More information about the MPlayer-cvslog
mailing list