> > when I want to copy the Picture to the buffer I do : > AVPicture pict_src; > pict_src.data[0] = pFrame->data[0]; > pict_src.data[1] = pFrame->data[1]; > pict_src.data[2] = pFrame->data[2]; > pict_src.linesize[0] = pFrame->linesize[0]; > pict_src.linesize[1] = pFrame->linesize[1]; > pict_src.linesize[2] = pFrame->linesize[2]; > At first - you didn't copy the buffer data. You copy pointers to the data (and these pointers actually manged by decoder)!
----------------------------------------------- Kirill Gavrilov, Software designer. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
