On Wed, 6 Mar 2013 21:36:30 +0100, Janne Grunau <[email protected]> wrote: > On 2013-03-04 11:35:30 +0100, Anton Khirnov wrote: > > --- > > libavcodec/mpeg4videodec.c | 15 +++++++++++---- > > 1 file changed, 11 insertions(+), 4 deletions(-) > > > > diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c > > index 53da86f..5f13045 100644 > > --- a/libavcodec/mpeg4videodec.c > > +++ b/libavcodec/mpeg4videodec.c > > @@ -20,6 +20,7 @@ > > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA > > 02110-1301 USA > > */ > > > > +#include "internal.h" > > #include "mpegvideo.h" > > #include "mpeg4video.h" > > #include "h263.h" > > @@ -377,8 +378,10 @@ int ff_mpeg4_decode_video_packet_header(MpegEncContext > > *s) > > int mb_x = 0, mb_y = 0; > > > > while (s->next_picture.mbskip_table[s->mb_index2xy[mb_num]]) { > > - if (!mb_x) > > - ff_thread_await_progress(&s->next_picture_ptr->f, mb_y++, > > 0); > > + if (!mb_x) { > > + s->next_picture_ptr->tf.f = &s->next_picture_ptr->f; > > is there a more central place where ths could be set? >
Now that I think about it, this is not needed anymore. It's set properly in alloc_frame_buffer(). Removed locally. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
