I have two AVFrame structs which I am switching between so that I can work on one frame while decoding the next frame. When I call avcodec_decode_video the struct holding the previous frame's data is changed (not the struct being passed to the function). This happens with MPEG4 videos and not FLVs. I noticed that the AVCodecContext kept a pointer to a frame whose pointers to the data were the same as my prevoius frame's data pointers. Does this sound like the problem is on my end?
Thanks for the help. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
