mpeg4videodec: Disable frame multithreading for GMC, its not implemented at all
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Oct 2012 20:38:54 +0000 (22:38 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 19 Oct 2012 12:42:35 +0000 (15:42 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mpegvideo.c

index d6f7af2..af9e040 100644 (file)
@@ -1985,7 +1985,8 @@ int ff_MPV_lowest_referenced_row(MpegEncContext *s, int dir)
     int my_max = INT_MIN, my_min = INT_MAX, qpel_shift = !s->quarter_sample;
     int my, off, i, mvs;
 
-    if (s->picture_structure != PICT_FRAME) goto unhandled;
+    if (s->picture_structure != PICT_FRAME || s->mcsel)
+        goto unhandled;
 
     switch (s->mv_type) {
         case MV_TYPE_16X16: