diff mpegvideo.h @ 771:d4cc92144266 libavcodec

handle direct rendering buffer allocation failure
author michaelni
date Sun, 27 Oct 2002 00:02:23 +0000
parents c3fc09466f92
children 08423289ec57
line wrap: on
line diff
--- a/mpegvideo.h	Sat Oct 26 18:56:43 2002 +0000
+++ b/mpegvideo.h	Sun Oct 27 00:02:23 2002 +0000
@@ -518,7 +518,7 @@
 int MPV_common_init(MpegEncContext *s);
 void MPV_common_end(MpegEncContext *s);
 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]);
-void MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx);
+int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx);
 void MPV_frame_end(MpegEncContext *s);
 #ifdef HAVE_MMX
 void MPV_common_init_mmx(MpegEncContext *s);