avformat/smacker: Cosmetics
Mainly reindentation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
@@ -50,14 +50,14 @@ typedef struct SmackerContext {
|
|||||||
/* internal variables */
|
/* internal variables */
|
||||||
int64_t next_frame_pos;
|
int64_t next_frame_pos;
|
||||||
int cur_frame;
|
int cur_frame;
|
||||||
|
int videoindex;
|
||||||
|
int indexes[7];
|
||||||
/* current frame for demuxing */
|
/* current frame for demuxing */
|
||||||
uint32_t frame_size;
|
uint32_t frame_size;
|
||||||
int flags;
|
int flags;
|
||||||
int next_audio_index;
|
int next_audio_index;
|
||||||
int new_palette;
|
int new_palette;
|
||||||
uint8_t pal[768];
|
uint8_t pal[768];
|
||||||
int indexes[7];
|
|
||||||
int videoindex;
|
|
||||||
int64_t aud_pts[7];
|
int64_t aud_pts[7];
|
||||||
} SmackerContext;
|
} SmackerContext;
|
||||||
|
|
||||||
@@ -226,7 +226,6 @@ static int smacker_read_header(AVFormatContext *s)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
|
static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
{
|
{
|
||||||
SmackerContext *smk = s->priv_data;
|
SmackerContext *smk = s->priv_data;
|
||||||
@@ -338,7 +337,6 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
goto next_frame;
|
goto next_frame;
|
||||||
pkt->stream_index = smk->videoindex;
|
pkt->stream_index = smk->videoindex;
|
||||||
pkt->pts = smk->cur_frame;
|
pkt->pts = smk->cur_frame;
|
||||||
pkt->size = ret + 769;
|
|
||||||
smk->next_audio_index = 0;
|
smk->next_audio_index = 0;
|
||||||
smk->new_palette = 0;
|
smk->new_palette = 0;
|
||||||
smk->cur_frame++;
|
smk->cur_frame++;
|
||||||
|
Reference in New Issue
Block a user