2011/7/8 Måns Rullgård <[email protected]>: > Alex Converse <[email protected]> writes: > >>> > +static int celt_bitstream_version_hack(CELTMode *mode) >>> > +{ >>> > + CELTHeader header = { .version_id = 0 }; >>> > + celt_header_init(&header, mode, 960, 2); >>> > + return header.version_id; >>> > +} >>> >>> What is the purpose of this? >> >> Bitstream was not frozen until February. Debian squeeze and even sid >> ship a pre-freeze libcelt. > > I'm afraid I don't get the connection. >
A stream encoded with libcelt 0.7.1 will not decode with libcelt 0.11.1+. Debian (still) ships libcelt 0.7.1. celt_header_init is used to generate the token denoting what version of the bitstream is supported by the library. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
