Advertisement
Guest User

Untitled

a guest
Nov 16th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.70 KB | None | 0 0
  1. src/video/SDL_yuv.c: In function 'GetYUVPlanes.isra.1':
  2. src/video/SDL_yuv.c:172:29: warning: 'pitches[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  3. *uv_stride = pitches[1];
  4. ~~~~~~~^~~
  5. src/video/SDL_yuv.c:135:12: warning: 'planes[2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  6. *v = planes[2];
  7. ~~~^~~~~~~~~~~
  8. src/video/SDL_yuv.c:171:17: warning: 'planes[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  9. *u = *v + 1;
  10. ~~~^~~
  11. src/video/SDL_yuv.c: In function 'SDL_ConvertPixels_YUV_to_RGB':
  12. src/video/SDL_yuv.c:365:13: warning: 'yuv_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
  13. yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
  14. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. src/video/SDL_yuv.c:403:15: note: 'yuv_type' was declared here
  16. YCbCrType yuv_type;
  17. ^~~~~~~~
  18. src/video/SDL_yuv.c:365:13: warning: 'uv_stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
  19. yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
  20. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  21. src/video/SDL_yuv.c:402:12: note: 'uv_stride' was declared here
  22. Uint32 uv_stride;
  23. ^~~~~~~~~
  24. src/video/SDL_yuv.c:365:13: warning: 'y_stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
  25. yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
  26. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27. src/video/SDL_yuv.c:401:12: note: 'y_stride' was declared here
  28. Uint32 y_stride;
  29. ^~~~~~~~
  30. src/video/SDL_yuv.c:365:13: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
  31. yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
  32. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33. src/video/SDL_yuv.c:400:18: note: 'v' was declared here
  34. const Uint8 *v;
  35. ^
  36. src/video/SDL_yuv.c:365:13: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
  37. yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
  38. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  39. src/video/SDL_yuv.c:399:18: note: 'u' was declared here
  40. const Uint8 *u;
  41. ^
  42. src/video/SDL_yuv.c:365:13: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  43. yuvnv12_rgb565_std(width, height, y, u, v, y_stride, uv_stride, rgb, rgb_stride, yuv_type);
  44. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  45. src/video/SDL_yuv.c:398:15: note: 'y' was declared here
  46. const Uint8 *y;
  47. ^
  48. src/video/SDL_yuv.c:130:29: warning: 'pitches[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  49. *uv_stride = pitches[1];
  50. ~~~~~~~^~~
  51. src/video/SDL_yuv.c:95:9: note: 'pitches[1]' was declared here
  52. int pitches[3];
  53. ^~~~~~~
  54. src/video/SDL_yuv.c:164:17: warning: 'planes[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  55. *v = *u + 1;
  56. ~~~^~~
  57. src/video/SDL_yuv.c:94:18: note: 'planes[1]' was declared here
  58. const Uint8 *planes[3];
  59. ^~~~~~`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement