utvideoenc: Avoid writing into the input picture

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2012-08-25 21:34:35 +00:00
committed by Derek Buitenhuis
parent 11d957fbd8
commit bbefd27e52
2 changed files with 42 additions and 26 deletions

View File

@@ -75,7 +75,7 @@ typedef struct UtvideoContext {
int interlaced;
int frame_pred;
uint8_t *slice_bits, *slice_buffer;
uint8_t *slice_bits, *slice_buffer[4];
int slice_bits_size;
} UtvideoContext;