aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-07-30 17:31:28 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-07-30 17:31:28 +0000
commit155b0f00d492366019a9c6464a5ca5db65d7aeaf (patch)
treefd525b9d3a2bd6dc279dd64951d9f6351a0df6e9 /libavdevice
parent1c0b9215acc82ebf392dcddb32d8d48099847ce0 (diff)
downloadffmpeg-155b0f00d492366019a9c6464a5ca5db65d7aeaf.tar.gz
vfwcap: Indent.
Originally committed as revision 19545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/vfwcap.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 48cbdc96f2..4a027225bd 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -332,17 +332,16 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
if(codec->pix_fmt == PIX_FMT_NONE) {
codec->codec_id = vfw_codecid(biCompression);
if(codec->codec_id == CODEC_ID_NONE) {
- av_log(s, AV_LOG_ERROR, "Unknown compression type. "
- "Please report verbose (-v 9) debug information.\n");
- vfw_read_close(s);
- return AVERROR_PATCHWELCOME;
+ av_log(s, AV_LOG_ERROR, "Unknown compression type. "
+ "Please report verbose (-v 9) debug information.\n");
+ vfw_read_close(s);
+ return AVERROR_PATCHWELCOME;
}
codec->bits_per_coded_sample = biBitCount;
- }
- else {
- codec->codec_id = CODEC_ID_RAWVIDEO;
- if(biCompression == BI_RGB)
- codec->bits_per_coded_sample = biBitCount;
+ } else {
+ codec->codec_id = CODEC_ID_RAWVIDEO;
+ if(biCompression == BI_RGB)
+ codec->bits_per_coded_sample = biBitCount;
}
av_set_pts_info(st, 32, 1, 1000);