Browse Source

Check ff_xvmc_field_start() result in all cases.

Originally committed as revision 17290 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ivan Kalvachev 17 years ago
parent
commit
9e494ab77c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/mpeg12.c

+ 2
- 1
libavcodec/mpeg12.c View File

@@ -1648,7 +1648,8 @@ static int mpeg_field_start(MpegEncContext *s){
// 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;


Loading…
Cancel
Save