diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-07-06 05:37:31 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-07-06 05:43:24 +0000 |
commit | d64f3b72e0eaec2933b5283b676272c678b28e79 (patch) | |
tree | 76065cb924ab660e2184e8cbe9b066d258702cdb /libavformat | |
parent | 96358062650addef5a01fe8333aa3e8d86e1dfd7 (diff) | |
download | ffmpeg-d64f3b72e0eaec2933b5283b676272c678b28e79.tar.gz |
replace some deprecated defines
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avisynth.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index 35b66f1ff8..ef54b9b750 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -239,37 +239,37 @@ static int avisynth_create_stream_video(AVFormatContext *s, AVStream *st) { switch (avs->vi->pixel_type) { #ifdef _WIN32 case AVS_CS_YV24: - st->codec->pix_fmt = PIX_FMT_YUV444P; + st->codec->pix_fmt = AV_PIX_FMT_YUV444P; planar = 1; break; case AVS_CS_YV16: - st->codec->pix_fmt = PIX_FMT_YUV422P; + st->codec->pix_fmt = AV_PIX_FMT_YUV422P; planar = 1; break; case AVS_CS_YV411: - st->codec->pix_fmt = PIX_FMT_YUV411P; + st->codec->pix_fmt = AV_PIX_FMT_YUV411P; planar = 1; break; case AVS_CS_Y8: - st->codec->pix_fmt = PIX_FMT_GRAY8; + st->codec->pix_fmt = AV_PIX_FMT_GRAY8; planar = 2; break; #endif case AVS_CS_BGR24: - st->codec->pix_fmt = PIX_FMT_BGR24; + st->codec->pix_fmt = AV_PIX_FMT_BGR24; break; case AVS_CS_BGR32: - st->codec->pix_fmt = PIX_FMT_RGB32; + st->codec->pix_fmt = AV_PIX_FMT_RGB32; break; case AVS_CS_YUY2: - st->codec->pix_fmt = PIX_FMT_YUYV422; + st->codec->pix_fmt = AV_PIX_FMT_YUYV422; break; case AVS_CS_YV12: - st->codec->pix_fmt = PIX_FMT_YUV420P; + st->codec->pix_fmt = AV_PIX_FMT_YUV420P; planar = 1; break; case AVS_CS_I420: // Is this even used anywhere? - st->codec->pix_fmt = PIX_FMT_YUV420P; + st->codec->pix_fmt = AV_PIX_FMT_YUV420P; planar = 1; break; default: |