cosmetics: indentation fix

patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Marco Gerards 2007-04-08 12:05:02 +00:00 committed by Diego Biurrun
parent ac5565d88c
commit 90f2a1a03c
2 changed files with 87 additions and 91 deletions

View File

@ -62,7 +62,6 @@ static int thp_read_header(AVFormatContext *s,
int i;
/* Read the file header. */
get_be32(pb); /* Skip Magic. */
thp->version = get_be32(pb);
@ -113,8 +112,7 @@ static int thp_read_header(AVFormatContext *s,
if (thp->version == 0x11000)
get_be32(pb); /* Unknown. */
}
else if (thp->components[i] == 1) {
} else if (thp->components[i] == 1) {
if (thp->has_audio != 0)
break;
@ -148,7 +146,6 @@ static int thp_read_packet(AVFormatContext *s,
int ret;
if (thp->audiosize == 0) {
/* Terminate when last frame is reached. */
if (thp->frame >= thp->framecnt)
return AVERROR_IO;
@ -176,8 +173,7 @@ static int thp_read_packet(AVFormatContext *s,
}
pkt->stream_index = thp->video_stream_index;
}
else {
} else {
ret = av_get_packet(pb, pkt, thp->audiosize);
if (ret != thp->audiosize) {
av_free_packet(pkt);