Mercurial > libavcodec.hg
view oggvorbis.h @ 1795:920e6381e1fe libavcodec
2 byte shorter userdata for mpeg4
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)
author | michael |
---|---|
date | Sun, 08 Feb 2004 22:52:35 +0000 |
parents | 1e39f273ecd6 |
children |
line wrap: on
line source
/** * @file oggvorbis.h * oggvorbis. */ #ifndef AVCODEC_OGGVORBIS_H #define AVCODEC_OGGVORBIS_H #include <vorbis/vorbisenc.h> #include "avcodec.h" int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) ; #endif