[FFmpeg-soc] [soc] Add an mpegvideo wrapper around ff_report_decode_progress.
Diego Biurrun
diego at biurrun.de
Tue Jun 24 09:38:12 CEST 2008
On Tue, Jun 24, 2008 at 09:17:16AM +0200, Benoit Fouet wrote:
> Alexander Strange wrote:
> > diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> > index f3212da..78114f6 100644
> > --- a/libavcodec/mpegvideo.c
> > +++ b/libavcodec/mpegvideo.c
> > @@ -2371,3 +2371,9 @@ void ff_set_qscale(MpegEncContext * s, int qscale)
> > +
> > +void MPV_report_decode_progress(MpegEncContext *s)
> > +{
> > + if (s->pict_type != FF_B_TYPE && !s->partitioned_frame)
> > + ff_report_decode_progress((AVFrame*)s->current_picture_ptr, s->mb_y);
> > +}
>
> you should not use tabs
Even better: Whatever revision control you use should automatically
reject tabs and trailing whitespace.
Diego
More information about the FFmpeg-soc
mailing list