On Tue, Nov 22, 2016 at 8:36 AM, Anton Khirnov <[email protected]> wrote: > diff --git a/libavcodec/vp9_superframe_split_bsf.c > b/libavcodec/vp9_superframe_split_bsf.c > new file mode 100644 > index 0000000..b607d33 > --- /dev/null > +++ b/libavcodec/vp9_superframe_split_bsf.c > @@ -0,0 +1,143 @@ > +/* > + * This file is part of Libav. > + * > + * Libav is free software; you can redistribute it and/or > + * modify it under the terms of the GNU Lesser General Public > + * License as published by the Free Software Foundation; either > + * version 2.1 of the License, or (at your option) any later version. > + * > + * Libav is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * Lesser General Public License for more details. > + * > + * You should have received a copy of the GNU Lesser General Public > + * License along with Libav; if not, write to the Free Software > + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 > USA > + */ > + > +/** > + * @file > + * This bitstream filter splits VP9 superframes into packets containing > + * just one frame. > + */ > + > +#include <stddef.h> > + > +#include "avcodec.h" > +#include "bsf.h" > +#include "bytestream.h" > +#include "get_bits.h"
shouldn't we use the new bitstream.h functions? -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
