Add av_picture_data_copy() and reimplement av_picture_copy() as a
authorS.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu>
Wed, 11 Aug 2010 14:18:52 +0000 (14:18 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 11 Aug 2010 14:18:52 +0000 (14:18 +0000)
commit9f08d80363d2da5cba8dff74003b26d105f93a7a
treec148b939a15333c2a86707b68a3b927d073b16f2
parent4bf2d6e8d46342f2be615153c79a32fabe683573
Add av_picture_data_copy() and reimplement av_picture_copy() as a
wrapper of it.

The new function is more generic, and does not depend on the
definition of the AVPicture struct.

Patch by S.N. Hemanth Meenakshisundaram s + "meenakshisundaram".substr(0, 7) + "@ucsd.edu".

Originally committed as revision 24768 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
libavcodec/imgconvert.c