diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-03 15:47:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-03 15:48:33 +0200 |
commit | f4e9c768d1021feec717b0ed03bb87ef00d585b8 (patch) | |
tree | 0545630851ff53f117640cb219b77d2a8e035d3f | |
parent | 84b6451d29eca20d8ee27ff162fd9e2adcd3d98b (diff) | |
download | ffmpeg-f4e9c768d1021feec717b0ed03bb87ef00d585b8.tar.gz |
avcodec/vcr1: simplify code drop buf variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/vcr1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index f97add132d..aa73da8278 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -49,10 +49,9 @@ static av_cold int vcr1_decode_init(AVCodecContext *avctx) static int vcr1_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) { - const uint8_t *buf = avpkt->data; VCR1Context *const a = avctx->priv_data; AVFrame *const p = data; - const uint8_t *bytestream = buf; + const uint8_t *bytestream = avpkt->data; const uint8_t *bytestream_end = bytestream + avpkt->size; int i, x, y, ret; |