demux_raw: uncrustify

Should have been done before doing all the changes...
This commit is contained in:
wm4 2013-07-14 17:55:54 +02:00
parent 5ad42d0caf
commit 5ead20bdb3
1 changed files with 166 additions and 164 deletions

View File

@ -137,9 +137,8 @@ static int demux_rawvideo_open(demuxer_t* demuxer, enum demux_check check)
desc.bpp[p] + 7) / 8;
}
}
} else if (codec && codec[0]) {
} else if (codec && codec[0])
decoder = talloc_strdup(demuxer, codec);
}
if (!imgsize) {
int bpp = 0;
@ -168,7 +167,8 @@ static int demux_rawvideo_open(demuxer_t* demuxer, enum demux_check check)
break;
}
if (!bpp) {
mp_msg(MSGT_DEMUX,MSGL_ERR,"rawvideo: img size not specified and unknown format!\n");
mp_msg(MSGT_DEMUX, MSGL_ERR,
"rawvideo: img size not specified and unknown format!\n");
return -1;
}
imgsize = width * height * bpp / 8;
@ -214,7 +214,9 @@ static int raw_fill_buffer(demuxer_t* demuxer)
return 1;
}
static void raw_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){
static void raw_seek(demuxer_t *demuxer, float rel_seek_secs, float audio_delay,
int flags)
{
struct priv *p = demuxer->priv;
stream_t *s = demuxer->stream;
stream_update_size(s);