You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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 */
|
||||
int64_t next_frame_pos;
|
||||
int cur_frame;
|
||||
int videoindex;
|
||||
int indexes[7];
|
||||
/* current frame for demuxing */
|
||||
uint32_t frame_size;
|
||||
int flags;
|
||||
int next_audio_index;
|
||||
int new_palette;
|
||||
uint8_t pal[768];
|
||||
int indexes[7];
|
||||
int videoindex;
|
||||
int64_t aud_pts[7];
|
||||
} SmackerContext;
|
||||
|
||||
@@ -226,7 +226,6 @@ static int smacker_read_header(AVFormatContext *s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
{
|
||||
SmackerContext *smk = s->priv_data;
|
||||
@@ -338,7 +337,6 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
goto next_frame;
|
||||
pkt->stream_index = smk->videoindex;
|
||||
pkt->pts = smk->cur_frame;
|
||||
pkt->size = ret + 769;
|
||||
smk->next_audio_index = 0;
|
||||
smk->new_palette = 0;
|
||||
smk->cur_frame++;
|
||||
|
Reference in New Issue
Block a user