Original Post
hi, i have a problem is SDL, i am decoding the video using avcodec_decode_video(videoCodec,prevFrame,&gotpics,pkt.data,pkt.size); then i heard that i have to copy the data into buffers so that i can lock, unlock and display the YUVoverlay. i dont know how to copy the data to the buffer. you guys have any idea about that