Browse Source

mpeg4videodec: disable frame multithreading for GMC, its not implemented at all

This fixes race conditions in decoding MPEG-4 GMC files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
5e885275f1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegvideo.c

+ 1
- 1
libavcodec/mpegvideo.c View File

@@ -2344,7 +2344,7 @@ 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:


Loading…
Cancel
Save