aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/vfwcap.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-09-04 16:31:21 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-09-04 16:31:21 +0000
commita9decf004189b86e110ccb70f728409db330a6c2 (patch)
treec8270b786976af96fea54ee5087491fb5efb799a /libavdevice/vfwcap.c
parentd6ee035d7a448ad3bd4857e128b3370634c199c8 (diff)
downloadffmpeg-a9decf004189b86e110ccb70f728409db330a6c2.tar.gz
Use if(0){} instead of #if 0 to prevent debug code to rot.
Originally committed as revision 19756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/vfwcap.c')
-rw-r--r--libavdevice/vfwcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 5dee0e0140..8c60f6d5e8 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -294,7 +294,7 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
bi->bmiHeader.biWidth = width ;
bi->bmiHeader.biHeight = height;
-#if 0
+ if (0) {
/* For testing yet unsupported compressions
* Copy these values from user-supplied verbose information */
bi->bmiHeader.biWidth = 320;
@@ -304,7 +304,7 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap)
bi->bmiHeader.biCompression = MKTAG('I','4','2','0');
bi->bmiHeader.biSizeImage = 115200;
dump_bih(s, &bi->bmiHeader);
-#endif
+ }
ret = SendMessage(ctx->hwnd, WM_CAP_SET_VIDEOFORMAT, bisize, (LPARAM) bi);
if(!ret) {