[MPlayer-cvslog] r35003 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Tue Jun 12 19:55:52 CEST 2012


Author: reimar
Date: Tue Jun 12 19:55:52 2012
New Revision: 35003

Log:
Fix swapped condition in previous commit.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Tue Jun 12 19:49:49 2012	(r35002)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Tue Jun 12 19:55:52 2012	(r35003)
@@ -884,7 +884,7 @@ static mp_image_t *decode(sh_video_t *sh
 
     if(!got_picture) {
 	if (avctx->codec->id == CODEC_ID_H264 &&
-	    skip_frame > AVDISCARD_DEFAULT)
+	    skip_frame <= AVDISCARD_DEFAULT)
 	    return &mpi_no_picture; // H.264 first field only
 	else
 	    return NULL;    // skipped image


More information about the MPlayer-cvslog mailing list