changeset 34909:40a9417d9ee8

Fix swapped condition in previous commit.
author reimar
date Tue, 12 Jun 2012 17:55:52 +0000
parents 1b28f529eac5
children 3629ef4a19ce
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Tue Jun 12 17:49:49 2012 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Tue Jun 12 17:55:52 2012 +0000
@@ -884,7 +884,7 @@
 
     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