[FFmpeg-devel] [PATCH] avcodec/mpegvideo: also export 0, 0 motion vectors

Michael Niedermayer michaelni at gmx.at
Thu Jan 22 12:31:45 CET 2015


On Thu, Jan 22, 2015 at 09:59:54AM +0100, Clément Bœsch wrote:
> On Mon, Jan 19, 2015 at 11:58:09PM +0100, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> >  libavcodec/mpegvideo.c              |    2 --
> >  tests/ref/fate/filter-codecview-mvs |   30 +++++++++++++++---------------
> >  2 files changed, 15 insertions(+), 17 deletions(-)
> > 
> > diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> > index ce4fa59..6966572 100644
> > --- a/libavcodec/mpegvideo.c
> > +++ b/libavcodec/mpegvideo.c
> > @@ -2138,8 +2138,6 @@ static int add_mb(AVMotionVector *mb, uint32_t mb_type,
> >                    int src_x, int src_y,
> >                    int direction)
> >  {
> > -    if (dst_x == src_x && dst_y == src_y)
> > -        return 0;
> >      mb->w = IS_8X8(mb_type) || IS_8X16(mb_type) ? 8 : 16;
> >      mb->h = IS_8X8(mb_type) || IS_16X8(mb_type) ? 8 : 16;
> >      mb->src_x = src_x;
> 
> OK I guess.

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150122/8b19bc4d/attachment.asc>


More information about the ffmpeg-devel mailing list