Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/video/SDL_yuv.c: In function 'GetYUVPlanes.isra.1':
- src/video/SDL_yuv.c:172:29: warning: 'pitches[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
- *uv_stride = pitches[1];
- ~~~~~~~^~~
- src/video/SDL_yuv.c:135:12: warning: 'planes[2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
- *v = planes[2];
- ~~~^~~~~~~~~~~
- src/video/SDL_yuv.c:171:17: warning: 'planes[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
- *u = *v + 1;
- ~~~^~~
- src/video/SDL_yuv.c: In function 'SDL_ConvertPixels_YUV_to_RGB':
- src/video/SDL_yuv.c:365:13: warning: 'yuv_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
- yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/video/SDL_yuv.c:403:15: note: 'yuv_type' was declared here
- YCbCrType yuv_type;
- ^~~~~~~~
- src/video/SDL_yuv.c:365:13: warning: 'uv_stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
- yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/video/SDL_yuv.c:402:12: note: 'uv_stride' was declared here
- Uint32 uv_stride;
- ^~~~~~~~~
- src/video/SDL_yuv.c:365:13: warning: 'y_stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
- yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/video/SDL_yuv.c:401:12: note: 'y_stride' was declared here
- Uint32 y_stride;
- ^~~~~~~~
- src/video/SDL_yuv.c:365:13: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
- yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/video/SDL_yuv.c:400:18: note: 'v' was declared here
- const Uint8 *v;
- ^
- src/video/SDL_yuv.c:365:13: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
- yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/video/SDL_yuv.c:399:18: note: 'u' was declared here
- const Uint8 *u;
- ^
- src/video/SDL_yuv.c:365:13: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
- yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/video/SDL_yuv.c:398:15: note: 'y' was declared here
- const Uint8 *y;
- ^
- src/video/SDL_yuv.c:130:29: warning: 'pitches[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
- *uv_stride = pitches[1];
- ~~~~~~~^~~
- src/video/SDL_yuv.c:95:9: note: 'pitches[1]' was declared here
- int pitches[3];
- ^~~~~~~
- src/video/SDL_yuv.c:164:17: warning: 'planes[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
- *v = *u + 1;
- ~~~^~~
- src/video/SDL_yuv.c:94:18: note: 'planes[1]' was declared here
- const Uint8 *planes[3];
- ^~~~~~`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement