[MPlayer-cvslog] r34248 - trunk/libmpdemux/mpeg_hdr.c
reimar
subversion at mplayerhq.hu
Mon Oct 24 18:22:10 CEST 2011
Author: reimar
Date: Mon Oct 24 18:22:10 2011
New Revision: 34248
Log:
Remove unused code.
Also gets rid of compiler warning about variables being assigned
but never used.
Modified:
trunk/libmpdemux/mpeg_hdr.c
Modified: trunk/libmpdemux/mpeg_hdr.c
==============================================================================
--- trunk/libmpdemux/mpeg_hdr.c Mon Oct 24 18:20:00 2011 (r34247)
+++ trunk/libmpdemux/mpeg_hdr.c Mon Oct 24 18:22:10 2011 (r34248)
@@ -206,7 +206,7 @@ static int read_timeinc(mp_mpeg_header_t
int mp4_header_process_vol(mp_mpeg_header_t * picture, const unsigned char * buffer)
{
- unsigned int n, aspect=0, aspectw=0, aspecth=0, x=1, v;
+ unsigned int n, aspect, x=1, v;
//begins with 0x0000012x
picture->fps = 0;
@@ -218,10 +218,8 @@ int mp4_header_process_vol(mp_mpeg_heade
aspect=getbits(buffer, n, 4);
n += 4;
if(aspect == 0x0f) {
- aspectw = getbits(buffer, n, 8);
- n += 8;
- aspecth = getbits(buffer, n, 8);
- n += 8;
+ // custom aspect w and h, 8 bit each
+ n += 16;
}
if(getbits(buffer, n, 1)) {
More information about the MPlayer-cvslog
mailing list