Luca Barbato <[email protected]> writes: > This makes the two pass encoding with x264 working with -f null - as > first pass. > --- > libavformat/nullenc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c > index 79fc02e..df72211 100644 > --- a/libavformat/nullenc.c > +++ b/libavformat/nullenc.c > @@ -23,7 +23,7 @@ > > static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt) > { > - return 0; > + return pkt->size; > } > > AVOutputFormat ff_null_muxer = { > --
LGTM -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
