mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
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:
parent
ac5565d88c
commit
90f2a1a03c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user