[Libav-user] Some first questions using libav for audio decoding

Martin Guy martinwguy at gmail.com
Tue Feb 14 04:53:59 EET 2023


On 14/02/2023, Martin Guy <martinwguy at gmail.com> wrote:
> The audio streams's start_time
> for a WAV file created by "sox synth" it
> is -9223372036854775808, which is 0x8000000000000000, the same as the
> averror code for "Success",

Sorry, I just spotted this a minute after writing:
    #define AV_NOPTS_VALUE
        ((int64_t)UINT64_C(0x8000000000000000))
on the same page as AV_TIME_BASE

Again, it might be worth mentioning this in the place where new users
are looking, i.e. the AVFrame pts paragraph

Cheers

    M


More information about the Libav-user mailing list