aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffmdec.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-06 20:36:16 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-06 20:36:16 +0000
commitb30bb5357d176ba776862ccc58e49e520d335fd4 (patch)
treede21d013da584a738d9e009152564fe276cf5460 /libavformat/ffmdec.c
parenta1011180d5d0f0b4d0eee44b1f1499c3f75e7ed6 (diff)
downloadffmpeg-b30bb5357d176ba776862ccc58e49e520d335fd4.tar.gz
cosmetics, rename first to header, more explicit name
Originally committed as revision 13677 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ffmdec.c')
-rw-r--r--libavformat/ffmdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 70fb5d0a8a..a959d6b8d4 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -79,7 +79,7 @@ static int ffm_is_avail_data(AVFormatContext *s, int size)
/* first is true if we read the frame header */
static int ffm_read_data(AVFormatContext *s,
- uint8_t *buf, int size, int first)
+ uint8_t *buf, int size, int header)
{
FFMContext *ffm = s->priv_data;
ByteIOContext *pb = s->pb;
@@ -122,7 +122,7 @@ static int ffm_read_data(AVFormatContext *s,
if ((frame_offset & 0x7fff) < FFM_HEADER_SIZE)
return -1;
ffm->packet_ptr = ffm->packet + (frame_offset & 0x7fff) - FFM_HEADER_SIZE;
- if (!first)
+ if (!header)
break;
} else {
ffm->packet_ptr = ffm->packet;
@@ -133,7 +133,7 @@ static int ffm_read_data(AVFormatContext *s,
buf += len;
ffm->packet_ptr += len;
size -= len;
- first = 0;
+ header = 0;
}
return size1 - size;
}