#include "mpegvideo.h"
#include "msmpeg4.h"
#include "qpeldsp.h"
-#include "vdpau_internal.h"
+#include "vdpau_compat.h"
#include "thread.h"
+#include "wmv2.h"
static enum AVPixelFormat h263_get_format(AVCodecContext *avctx)
{
}
if (!s->current_picture_ptr || s->current_picture_ptr->f->data[0]) {
- int i = ff_find_unused_picture(s, 0);
+ int i = ff_find_unused_picture(s->avctx, s->picture, 0);
if (i < 0)
return i;
s->current_picture_ptr = &s->picture[i];