Mercurial > libavcodec.hg
comparison mpeg12.c @ 6220:0ed0d9d578ad libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:34:43 +0000 |
parents | c8b9b73b979f |
children | 48a6bbc1c633 |
comparison
equal
deleted
inserted
replaced
6219:a0a645626940 | 6220:0ed0d9d578ad |
---|---|
2218 } | 2218 } |
2219 | 2219 |
2220 /* handle buffering and image synchronisation */ | 2220 /* handle buffering and image synchronisation */ |
2221 static int mpeg_decode_frame(AVCodecContext *avctx, | 2221 static int mpeg_decode_frame(AVCodecContext *avctx, |
2222 void *data, int *data_size, | 2222 void *data, int *data_size, |
2223 uint8_t *buf, int buf_size) | 2223 const uint8_t *buf, int buf_size) |
2224 { | 2224 { |
2225 Mpeg1Context *s = avctx->priv_data; | 2225 Mpeg1Context *s = avctx->priv_data; |
2226 const uint8_t *buf_end; | 2226 const uint8_t *buf_end; |
2227 const uint8_t *buf_ptr; | 2227 const uint8_t *buf_ptr; |
2228 uint32_t start_code; | 2228 uint32_t start_code; |