mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Compile fix for Ubuntu precise version of ffmpeg
This commit is contained in:
parent
63dd1e0d2b
commit
a9c5525dd6
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user