[FFmpeg-soc] [soc] Add an mpegvideo wrapper around ff_report_decode_progress.
Alexander Strange
astrange at ithinksw.com
Tue Jun 24 09:49:03 CEST 2008
On Jun 24, 2008, at 3:38 AM, Diego Biurrun wrote:
> 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
git errors on trailing whitespace and mixed tab/space by default, but
not this. I'll add the pre-commit hook.
More information about the FFmpeg-soc
mailing list