[FFmpeg-cvslog] r17290 - trunk/libavcodec/mpeg12.c
iive
subversion
Sat Feb 14 23:46:20 CET 2009
Author: iive
Date: Sat Feb 14 23:46:20 2009
New Revision: 17290
Log:
Check ff_xvmc_field_start() result in all cases.
Modified:
trunk/libavcodec/mpeg12.c
Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c Sat Feb 14 23:22:55 2009 (r17289)
+++ trunk/libavcodec/mpeg12.c Sat Feb 14 23:46:20 2009 (r17290)
@@ -1648,7 +1648,8 @@ static int mpeg_field_start(MpegEncConte
// MPV_frame_start will call this function too,
// but we need to call it on every field
if(s->avctx->xvmc_acceleration)
- ff_xvmc_field_start(s,avctx);
+ if( ff_xvmc_field_start(s,avctx) < 0)
+ return -1;
#endif
return 0;
More information about the ffmpeg-cvslog
mailing list