On 10.05.2019, at 15:10, Shivam Goyal <shi...@iitk.ac.in> wrote: > > -> Making two avio contexts and one calling the other ( I am not sure if > i implemented it in the right way, but still i reached low level ).
Can't you at least figure out the header size, decrypt the header and pass that to the normal header parsing code? Even if not, I'd at least suggest changing the code from reading bytewise and applying rot to reading all 8 bytes in a buffer, use a loop to apply rot and then the standard AV_RL functions to read the 32 and 24 bit values. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".