Fix value of bit counter at end of functions to prepare for future patches.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30903 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2010-03-15 22:28:08 +00:00
parent 2990ec1682
commit 0eee2d2bd5
1 changed files with 3 additions and 4 deletions

View File

@ -251,9 +251,8 @@ int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer)
n++; //marker bit
if(getbits(buffer, n, 1)) { //fixed_vop_timeinc
n++;
n = read_timeinc(picture, buffer, n);
if(getbits(buffer, n++, 1)) { //fixed_vop_timeinc
n += read_timeinc(picture, buffer, n);
if(picture->timeinc_unit)
picture->fps = (float) picture->timeinc_resolution / (float) picture->timeinc_unit;
@ -276,7 +275,7 @@ void mp4_header_process_vop(mp_mpeg_header_t * picture, unsigned char * buffer)
n++;
getbits(buffer, n, 1);
n++;
n = read_timeinc(picture, buffer, n);
n += read_timeinc(picture, buffer, n);
}
#define min(a, b) ((a) <= (b) ? (a) : (b))