summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-02-24 17:09:57 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-02-24 17:09:57 +0000
commit4daa41c41586c1a596567a63140c6ba17113d491 (patch)
tree4c859f0536c527123e9c2c10af9211ff174c0e84 /libavcodec/vc1.c
parentee3e36315e25d74da1079b4bafe3fd36fc9f3406 (diff)
Rename buf_vdpau to buf_start
Patch by Gwenole Beauchesne <g$lastname> <at> <(antonym of "joined")-desktop><com> Originally committed as revision 17561 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 96139a8edd..ca76adaa06 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -4142,7 +4142,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
MpegEncContext *s = &v->s;
AVFrame *pict = data;
uint8_t *buf2 = NULL;
- const uint8_t *buf_vdpau = buf;
+ const uint8_t *buf_start = buf;
/* no supplementary picture */
if (buf_size == 0) {
@@ -4188,7 +4188,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
switch(AV_RB32(start)){
case VC1_CODE_FRAME:
if (s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU)
- buf_vdpau = start;
+ buf_start = start;
buf_size2 = vc1_unescape_buffer(start + 4, size, buf2);
break;
case VC1_CODE_ENTRYPOINT: /* it should be before frame data */
@@ -4279,7 +4279,7 @@ static int vc1_decode_frame(AVCodecContext *avctx,
if ((CONFIG_VC1_VDPAU_DECODER || CONFIG_WMV3_VDPAU_DECODER)
&&s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU)
- ff_vdpau_vc1_decode_picture(s, buf_vdpau, (buf + buf_size) - buf_vdpau);
+ ff_vdpau_vc1_decode_picture(s, buf_start, (buf + buf_size) - buf_start);
else {
ff_er_frame_start(s);