[FFmpeg-devel] [PATCH] PB-frames support for i263
Kostya
kostya.shishkov
Tue Feb 17 17:01:55 CET 2009
On Tue, Feb 17, 2009 at 02:28:00PM +0100, Michael Niedermayer wrote:
[...]
> > @@ -6149,6 +6217,8 @@
> > {
> > int format;
> >
> > + if(s->gb.buffer_end - s->gb.buffer == 8)
> > + return -1;
> > /* picture header */
> > if (get_bits_long(&s->gb, 22) != 0x20) {
> > av_log(s->avctx, AV_LOG_ERROR, "Bad picture start code\n");
>
> explain ...
Usually PB-frames in i263 are followed by 8-byte frame that is used to
carry some additional information for B-frames. Also they don't start with
syncmarker and one error message is better than two (+"Bad picture start code")
[...]
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
More information about the ffmpeg-devel
mailing list