swscale-example: use av_malloc()
authorMåns Rullgård <mans@mansr.com>
Tue, 19 Jan 2010 03:47:11 +0000 (03:47 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 19 Jan 2010 03:47:11 +0000 (03:47 +0000)
commit51d83986b18a0f1ed736536c5ef60fa34bf1fd65
treefc23d6d512eda59c064f7a99f5333a873f05307e
parent7817ddabc8ccb417c293c3c788dcbc6b225840b4
swscale-example: use av_malloc()

Image buffers require 16-byte alignment, so av_malloc() should be used.
Fixes crash on PPC.

Originally committed as revision 30369 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale-example.c