diff options
Diffstat (limited to 'libmpeg2/header.c')
-rw-r--r-- | libmpeg2/header.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpeg2/header.c b/libmpeg2/header.c index 040651d20e..10786bd6d9 100644 --- a/libmpeg2/header.c +++ b/libmpeg2/header.c @@ -315,8 +315,8 @@ static inline void finalize_sequence (mpeg2_sequence_t * sequence) height *= sequence->display_width; } else { - if (sequence->byte_rate == 50 * 0x3ffff) - sequence->byte_rate = 0; /* mpeg-1 VBR */ + if (sequence->byte_rate == 50 * 0x3ffff) + sequence->byte_rate = 0; /* mpeg-1 VBR */ switch (sequence->pixel_width) { case 0: case 15: /* illegal */ @@ -860,7 +860,7 @@ int mpeg2_header_user_data (mpeg2dec_t * mpeg2dec) { mpeg2dec->user_data_len += mpeg2dec->chunk_ptr - 1 - mpeg2dec->chunk_start; mpeg2dec->chunk_start = mpeg2dec->chunk_ptr - 1; - + return 0; } |