[MPlayer-cvslog] r37879 - trunk/libmpcodecs/vd_ffmpeg.c
reimar
subversion at mplayerhq.hu
Thu Jul 21 23:50:00 CEST 2016
Author: reimar
Date: Thu Jul 21 23:50:00 2016
New Revision: 37879
Log:
vd_ffmpeg: Fix accidental comparison as unsigned.
Modified:
trunk/libmpcodecs/vd_ffmpeg.c
Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c Thu Jul 21 23:46:42 2016 (r37878)
+++ trunk/libmpcodecs/vd_ffmpeg.c Thu Jul 21 23:50:00 2016 (r37879)
@@ -472,7 +472,7 @@ static int init(sh_video_t *sh){
break;
default:
- if (!sh->bih || sh->bih->biSize <= sizeof(*sh->bih))
+ if (!sh->bih || sh->bih->biSize <= (int)sizeof(*sh->bih))
break;
avctx->extradata_size = sh->bih->biSize-sizeof(*sh->bih);
avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
More information about the MPlayer-cvslog
mailing list