Commit 2927ffdd authored by diego's avatar diego

cosmetics: indentation fix

patch by Marco Gerards, mgerards xs4all nl


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8680 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6209a016
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment