Browse Source

Compile fix for Ubuntu precise version of ffmpeg

rdb 9 years ago
parent
commit
a9c5525dd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/ffmpeg/ffmpegVideoCursor.cxx

+ 1 - 1
panda/src/ffmpeg/ffmpegVideoCursor.cxx

@@ -83,7 +83,7 @@ init_from(FfmpegVideo *source) {
 #ifdef HAVE_SWSCALE
   nassertv(_convert_ctx == NULL);
   _convert_ctx = sws_getContext(_size_x, _size_y, _video_ctx->pix_fmt,
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(51, 74, 100)
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 74, 100)
                                 _size_x, _size_y, AV_PIX_FMT_BGR24,
 #else
                                 _size_x, _size_y, PIX_FMT_BGR24,