diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-04-01 13:18:21 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-04-01 13:18:21 +0000 |
commit | c466f03689df63a5c6cbad58318551759a96b183 (patch) | |
tree | 81f598fc01e62dad07984d622f907f0c3795542f /src/libmpeg2/stats.c | |
parent | 597b77d5cf3b65ba2a14c1ac3ffbfab74b1f5593 (diff) | |
download | xine-lib-c466f03689df63a5c6cbad58318551759a96b183.tar.gz xine-lib-c466f03689df63a5c6cbad58318551759a96b183.tar.bz2 |
- sync with mpeg2dec 0.2.1
- small changes to frame freeing logic
CVS patchset: 1655
CVS date: 2002/04/01 13:18:21
Diffstat (limited to 'src/libmpeg2/stats.c')
-rw-r--r-- | src/libmpeg2/stats.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libmpeg2/stats.c b/src/libmpeg2/stats.c index d62edb412..04de526f1 100644 --- a/src/libmpeg2/stats.c +++ b/src/libmpeg2/stats.c @@ -1,8 +1,10 @@ /* * stats.c - * Copyright (C) 1999-2001 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> + * Copyright (C) 2000-2002 Michel Lespinasse <walken@zoy.org> + * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * * This file is part of mpeg2dec, a free MPEG-2 video stream decoder. + * See http://libmpeg2.sourceforge.net/ for updates. * * mpeg2dec is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +30,6 @@ #include "mpeg2_internal.h" static int debug_level = -1; -//static int debug_level = 1; /* Determine is debug output is required. */ /* We could potentially have multiple levels of debug info */ @@ -151,7 +152,7 @@ static void stats_group (uint8_t * buffer) (buffer[4] & 0x20) ? " broken_link" : ""); } -static void stats_slice (uint8_t code, uint8_t * buffer) +static void stats_slice (int code, uint8_t * buffer) { /* fprintf (stderr, " (slice %d)\n", code); */ } @@ -256,7 +257,7 @@ static void stats_picture_coding_extension (uint8_t * buffer) alternate_scan, repeat_first_field, progressive_frame); } -void stats_header (uint8_t code, uint8_t * buffer) +void mpeg2_stats (int code, uint8_t * buffer) { if (! (debug_is_on ())) return; |