Hi,
set_video_mode_Nala is only call for codec1 device, no need to check in
that fonction if we are codec1 or codec23.
Matthieu
--- pwc-ctrl.c.old 2006-02-26 21:44:50.000000000 +0100
+++ pwc-ctrl.c 2006-02-26 21:45:58.000000000 +0100
@@ -219,13 +219,8 @@
PWC_DEBUG_MODULE("Failed to send video command... %d\n", ret);
return ret;
}
- if (pEntry->compressed && pdev->vpalette != VIDEO_PALETTE_RAW) {
- if (DEVICE_USE_CODEC1(pdev->type))
- pwc_dec1_init(pdev->type, pdev->release, buf,
pdev->decompress_data);
- else
- pwc_dec23_init(pdev->type, pdev->release, buf,
pdev->decompress_data);
- }
-
+ if (pEntry->compressed && pdev->vpalette != VIDEO_PALETTE_RAW)
+ pwc_dec1_init(pdev->type, pdev->release, buf,
pdev->decompress_data);
pdev->cmd_len = 3;
memcpy(pdev->cmd_buf, buf, 3);
_______________________________________________
pwc mailing list
[email protected]
http://lists.saillard.org/mailman/listinfo/pwc