Replace sizeof(short) by the more robust sizeof(*s->pblocks[i]) in memset and
authorDiego Biurrun <diego@biurrun.de>
Tue, 17 Feb 2009 23:51:28 +0000 (23:51 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 17 Feb 2009 23:51:28 +0000 (23:51 +0000)
commit7df33ec28e1cb8886c38239b41285af85ab02066
treeabc58d3822817991a07b9de20aa97f4b1c16f226
parent63864cb810e439cfdefa70befd5128e1a330794a
Replace sizeof(short) by the more robust sizeof(*s->pblocks[i]) in memset and
memcpy calls.  s->pblocks is the element actually being handled.

Originally committed as revision 17404 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo_xvmc.c