Commit ad989d8e authored by ramiro's avatar ramiro

Use if(0){} instead of #if 0 to prevent debug code to rot.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19756 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 61668d66
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment