1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-22 12:14:13 +02:00

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>
This commit is contained in:
Michael Niedermayer 2012-10-12 22:38:54 +02:00
parent 0c40220b9d
commit 5e885275f1

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: