From 5d9c0615be5ab1b21ed4f4b4a8da3eb12057cecf Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 5 Jan 2009 18:44:32 +0000 Subject: [PATCH] Ministry of English Composition treatment: s/Alloced/Allocated Originally committed as revision 16439 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vdpau_render.h | 2 +- libavcodec/vdpauvideo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vdpau_render.h b/libavcodec/vdpau_render.h index 776b6da608..2daeb13482 100644 --- a/libavcodec/vdpau_render.h +++ b/libavcodec/vdpau_render.h @@ -74,7 +74,7 @@ struct vdpau_render_state { } info; /** Describe size/location of the compressed video data. */ - int bitstreamBuffersAlloced; + int bitstreamBuffersAllocated; int bitstreamBuffersUsed; VdpBitstreamBuffer *bitstreamBuffers; }; diff --git a/libavcodec/vdpauvideo.c b/libavcodec/vdpauvideo.c index 0ac05eb89c..ab4a04868e 100644 --- a/libavcodec/vdpauvideo.c +++ b/libavcodec/vdpauvideo.c @@ -119,7 +119,7 @@ void ff_VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_si render->bitstreamBuffers= av_fast_realloc( render->bitstreamBuffers, - &render->bitstreamBuffersAlloced, + &render->bitstreamBuffersAllocated, sizeof(*render->bitstreamBuffers)*(render->bitstreamBuffersUsed + 1) );