Mercurial > mplayer.hg
annotate fmt-conversion.h @ 29753:75f54a9e4160
Move some variable initializations to the beginning of vo_x11_fullscreen().
Fixes the warnings:
libvo/x11_common.c:1344: warning: 'h' may be used uninitialized in this function
libvo/x11_common.c:1344: warning: 'w' may be used uninitialized in this function
libvo/x11_common.c:1344: warning: 'y' may be used uninitialized in this function
libvo/x11_common.c:1344: warning: 'x' may be used uninitialized in this function
author | diego |
---|---|
date | Sat, 24 Oct 2009 12:35:18 +0000 |
parents | 21efa4282730 |
children | 1d39794263eb |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_FMT_CONVERSION_H |
2 #define MPLAYER_FMT_CONVERSION_H | |
24156 | 3 |
26069
1318e956c092
FFmpeg now uses different (unified) #include paths.
diego
parents:
26029
diff
changeset
|
4 #include "libavutil/avutil.h" |
19872 | 5 |
28526
21efa4282730
Create a fmt-conversion.c file so fmt-conversion.h can be included by multiple files.
reimar
parents:
27601
diff
changeset
|
6 enum PixelFormat imgfmt2pixfmt(int fmt); |
21efa4282730
Create a fmt-conversion.c file so fmt-conversion.h can be included by multiple files.
reimar
parents:
27601
diff
changeset
|
7 int pixfmt2imgfmt(enum PixelFormat pix_fmt); |
24156 | 8 |
26029 | 9 #endif /* MPLAYER_FMT_CONVERSION_H */ |