[FFmpeg-cvslog] lavc: replace some forgotten instances of PixelFormat with AVPixelFormat
Anton Khirnov
git at videolan.org
Thu Dec 13 11:57:29 CET 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Dec 8 10:04:56 2012 +0100| [998fdcff41bbda8ef13c991743376556f910efa9] | committer: Anton Khirnov
lavc: replace some forgotten instances of PixelFormat with AVPixelFormat
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=998fdcff41bbda8ef13c991743376556f910efa9
---
libavcodec/asvenc.c | 6 ++++--
libavcodec/svq1dec.c | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/libavcodec/asvenc.c b/libavcodec/asvenc.c
index 4ab9ddb..f36f3ef 100644
--- a/libavcodec/asvenc.c
+++ b/libavcodec/asvenc.c
@@ -269,7 +269,8 @@ AVCodec ff_asv1_encoder = {
.priv_data_size = sizeof(ASV1Context),
.init = encode_init,
.encode2 = encode_frame,
- .pix_fmts = (const enum PixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE },
+ .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
};
#endif
@@ -282,7 +283,8 @@ AVCodec ff_asv2_encoder = {
.priv_data_size = sizeof(ASV1Context),
.init = encode_init,
.encode2 = encode_frame,
- .pix_fmts = (const enum PixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE },
+ .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P,
+ AV_PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
};
#endif
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c
index 31b00c4..704cf58 100644
--- a/libavcodec/svq1dec.c
+++ b/libavcodec/svq1dec.c
@@ -827,7 +827,7 @@ AVCodec ff_svq1_decoder = {
.decode = svq1_decode_frame,
.capabilities = CODEC_CAP_DR1,
.flush = svq1_flush,
- .pix_fmts = (const enum PixelFormat[]) { AV_PIX_FMT_YUV410P,
- AV_PIX_FMT_NONE },
+ .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV410P,
+ AV_PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
};
More information about the ffmpeg-cvslog
mailing list