mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
fixed _find_desc_format
This commit is contained in:
parent
c6339204f4
commit
15766ad988
@ -398,7 +398,7 @@ static inline void const *_find_desc_format(void const *beg, void const *end, ui
|
|||||||
if ((fmt == VIDEO_CS_ITF_VS_FORMAT_UNCOMPRESSED ||
|
if ((fmt == VIDEO_CS_ITF_VS_FORMAT_UNCOMPRESSED ||
|
||||||
fmt == VIDEO_CS_ITF_VS_FORMAT_MJPEG ||
|
fmt == VIDEO_CS_ITF_VS_FORMAT_MJPEG ||
|
||||||
fmt == VIDEO_CS_ITF_VS_FORMAT_DV ||
|
fmt == VIDEO_CS_ITF_VS_FORMAT_DV ||
|
||||||
fmt == VIDEO_CS_ITF_VS_FRAME_FRAME_BASED) &&
|
fmt == VIDEO_CS_ITF_VS_FORMAT_FRAME_BASED) &&
|
||||||
fmtnum == p[3]) {
|
fmtnum == p[3]) {
|
||||||
return cur;
|
return cur;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user