comparison libmpeg2/libmpeg2_changes.diff @ 31290:f60cd3b9d453

libmpeg2: Move pending_buffer stuff to local decoder context. It is only used in our wrapper code, so there is no point to patch it into our libmpeg2 copy. This also helps when trying to use external libmpeg2. patch by Luca Barbato
author diego
date Wed, 09 Jun 2010 16:56:21 +0000
parents 020ae1402728
children a51baa308479
comparison
equal deleted inserted replaced
31289:2dead2f28eac 31290:f60cd3b9d453
350 + 350 +
351 + int quantizer_scales[32]; 351 + int quantizer_scales[32];
352 + int quantizer_scale; 352 + int quantizer_scale;
353 + char* quant_store; 353 + char* quant_store;
354 + int quant_stride; 354 + int quant_stride;
355 };
356
357 typedef struct {
358 @@ -223,6 +232,9 @@
359 //int8_t q_scale_type, scaled[4];
360 uint8_t quantizer_matrix[4][64];
361 uint8_t new_quantizer_matrix[4][64];
362 +
363 + unsigned char *pending_buffer;
364 + int pending_length;
365 }; 355 };
366 356
367 typedef struct { 357 typedef struct {
368 @@ -226,7 +238,7 @@ 358 @@ -226,7 +238,7 @@
369 }; 359 };