I am trying to decode h264 raw data. Currently i am getting a nal packet from the encoder and placing the size and data in the AVPacket structure. Then calling avcodec_decode_video2 with the AVPacket. The decoded image is green and purple and two halves of the same image. During my debugging i can tell that the decoded AVFrame data is incorrect. So i am assuming its a decoder issue.
Any suggestions on how to fix this? _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
