diff options
author | uid56437 <none@none> | 2001-07-04 14:14:39 +0000 |
---|---|---|
committer | uid56437 <none@none> | 2001-07-04 14:14:39 +0000 |
commit | ddc0489a65529c49aee950a8e5449c727da1413f (patch) | |
tree | 92bde0ffad32215c7c06e15efdbb4215c7bb866e /src | |
parent | b8607bd194e4126a112633253d6b0beba7f2d4d1 (diff) | |
download | xine-lib-ddc0489a65529c49aee950a8e5449c727da1413f.tar.gz xine-lib-ddc0489a65529c49aee950a8e5449c727da1413f.tar.bz2 |
Fix a few compiler warnings
CVS patchset: 248
CVS date: 2001/07/04 14:14:39
Diffstat (limited to 'src')
-rw-r--r-- | src/libmpeg2/decode.c | 8 | ||||
-rw-r--r-- | src/xine-engine/video_out.c | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/libmpeg2/decode.c b/src/libmpeg2/decode.c index ffe2c5297..94f832504 100644 --- a/src/libmpeg2/decode.c +++ b/src/libmpeg2/decode.c @@ -342,10 +342,14 @@ int mpeg2_decode_data (mpeg2dec_t * mpeg2dec, uint8_t * current, uint8_t * end, void mpeg2_close (mpeg2dec_t * mpeg2dec) { - static uint8_t finalizer[] = {0,0,1,0xb4}; picture_t *picture = mpeg2dec->picture; - /* mpeg2_decode_data (mpeg2dec, finalizer, finalizer+4, 0); */ + /* + { + static uint8_t finalizer[] = {0,0,1,0xb4}; + mpeg2_decode_data (mpeg2dec, finalizer, finalizer+4, 0); + } + */ if (picture->throwaway_frame) picture->throwaway_frame->free (picture->throwaway_frame); diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 80bfd7b83..3fb974022 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.26 2001/06/24 22:20:26 guenter Exp $ + * $Id: video_out.c,v 1.27 2001/07/04 14:14:39 uid56437 Exp $ * */ @@ -29,6 +29,7 @@ #include <sys/time.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include "video_out.h" |