summaryrefslogtreecommitdiff
path: root/libavcodec/vcr1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-03 15:47:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-03 15:48:33 +0200
commitf4e9c768d1021feec717b0ed03bb87ef00d585b8 (patch)
tree0545630851ff53f117640cb219b77d2a8e035d3f /libavcodec/vcr1.c
parent84b6451d29eca20d8ee27ff162fd9e2adcd3d98b (diff)
avcodec/vcr1: simplify code drop buf variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r--libavcodec/vcr1.c3
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;