[FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat May 11 00:51:45 EEST 2019
On 10.05.2019, at 15:10, Shivam Goyal <shivgo at 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.
More information about the ffmpeg-devel
mailing list