[FFmpeg-user] Alter YUV values of AVFrames
killkenny64
kennethjjgibson at gmail.com
Wed Feb 1 23:37:28 CET 2012
Mike Scheutzow-3 wrote
>
> You must treat the AVFrame as read-only. AVFrame->data often points to
> the actual reference frame memory used internally by the decoder.
>
> You must make a deep copy of AVFrame->data before modifying it, and pass
> that to the next step.
>
Thanks for the help, I can see now how problems could arise by changing the
AVFrame->data.
Is there any chance you could give me a hint or two or point me toward some
help on making a deep copy of the AVFrame->data? I'm not a big C person so
I'm swimming in the deep end here.
Thanks =)
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Alter-YUV-values-of-AVFrames-tp4346567p4349757.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list