I'm working on adding support for verifying the CRC in DTS files currently, I could possibly add together all the extracted values from the header, but that would be extremely prone to errors, the code would be very long and just a PITA all around.
I found a function called avio_seek(), but that's for AVIOContext (obviously), is there a similar function for GetBitContext? and if not, can I cast the GetBitContext to AVIOContext? On Thu, Oct 30, 2014 at 5:43 AM, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: > Marcus Johnson <bumblebritches57@...> writes: > > > I need to seek X bytes into a file, and I'm not > > sure which function will do that? > > What kind of file? > (For many file types, seeking X bytes makes not > much sense.) > > You can try -skip_initial_bytes but you are probably > searching for AVSEEK_FLAG_BYTE. > > Carl Eugen > > _______________________________________________ > Libav-user mailing list > Libav-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user