From: Carl Eugen Hoyos Date: Mon, 5 Jan 2009 18:44:32 +0000 (+0000) Subject: Ministry of English Composition treatment: s/Alloced/Allocated X-Git-Tag: v0.5~1350 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d9c0615be5ab1b21ed4f4b4a8da3eb12057cecf;p=platform%2Fupstream%2Flibav.git Ministry of English Composition treatment: s/Alloced/Allocated Originally committed as revision 16439 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/vdpau_render.h b/libavcodec/vdpau_render.h index 776b6da..2daeb13 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 0ac05eb..ab4a048 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) );