(ffmpeg core) Cleanups/style nits

This commit is contained in:
twinaphex 2016-08-30 17:42:29 +02:00
parent e819e84149
commit f8f4b4f809
1 changed files with 13 additions and 11 deletions

View File

@ -774,8 +774,10 @@ static bool codec_is_image(enum AVCodecID id)
return true;
default:
return false;
break;
}
return false;
}
static bool codec_id_is_ttf(enum AVCodecID id)
@ -1192,14 +1194,14 @@ static void decode_thread(void *data)
while (!decode_thread_dead)
{
bool seek;
AVPacket pkt;
int subtitle_stream;
double seek_time_thread;
int audio_stream, audio_stream_ptr;
int subtitle_stream;
AVPacket pkt;
AVCodecContext *actx_active;
AVCodecContext *sctx_active;
AVCodecContext *actx_active = NULL;
AVCodecContext *sctx_active = NULL;
#ifdef HAVE_SSA
ASS_Track *ass_track_active;
ASS_Track *ass_track_active = NULL;
#endif
slock_lock(fifo_lock);