--- trunk/xvidcore/src/xvid.c 2010/10/16 12:20:30 1896 +++ trunk/xvidcore/src/xvid.c 2010/10/17 17:46:43 1897 @@ -20,7 +20,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid.c,v 1.83 2010-03-09 10:00:14 Isibaar Exp $ + * $Id: xvid.c,v 1.84 2010-10-17 17:46:43 Isibaar Exp $ * ****************************************************************************/ @@ -766,6 +766,15 @@ (uint8_t**)convert->output.plane, convert->output.stride, convert->output.csp, convert->interlacing); break; + + case XVID_CSP_INTERNAL : + img.y = (uint8_t*)convert->input.plane[0]; + img.u = (uint8_t*)convert->input.plane[1]; + img.v = (uint8_t*)convert->input.plane[2]; + image_output(&img, width, height, convert->input.stride[0], + (uint8_t**)convert->output.plane, convert->output.stride, + convert->output.csp, convert->interlacing); + break; default : return XVID_ERR_FORMAT;