diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index f2453e6..a23b1d9 100644
|
a
|
b
|
static enum AVPixelFormat dshow_pixfmt(DWORD biCompression, WORD biBitCount)
|
| 51 | 51 | return AV_PIX_FMT_0RGB32; |
| 52 | 52 | } |
| 53 | 53 | } |
| | 54 | case 0xe436eb7b: |
| | 55 | return AV_PIX_FMT_RGB565; |
| | 56 | case 0xe436eb7c: |
| | 57 | return AV_PIX_FMT_RGB555; |
| | 58 | case 0xe436eb7d: |
| | 59 | return AV_PIX_FMT_RGB24; |
| | 60 | case 0xe436eb7e: |
| | 61 | return AV_PIX_FMT_0RGB32; |
| 54 | 62 | return avpriv_find_pix_fmt(avpriv_get_raw_pix_fmt_tags(), biCompression); // all others |
| 55 | 63 | } |
| 56 | 64 | |