summaryrefslogtreecommitdiff
path: root/src/video_dec/libvdpau/dpb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_dec/libvdpau/dpb.c')
-rw-r--r--src/video_dec/libvdpau/dpb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_dec/libvdpau/dpb.c b/src/video_dec/libvdpau/dpb.c
index 509075134..e25657b8e 100644
--- a/src/video_dec/libvdpau/dpb.c
+++ b/src/video_dec/libvdpau/dpb.c
@@ -20,6 +20,10 @@
* dpb.c: Implementing Decoded Picture Buffer
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -113,6 +117,8 @@ struct decoded_picture* dpb_get_next_ref_pic(struct dpb *dpb,
pic = pic->next;
}
+
+ return NULL;
}
struct decoded_picture* dpb_get_next_out_picture(struct dpb *dpb, int do_flush)