diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-07 11:15:31 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 10:42:09 +0400 |
commit | 542b83fc90c188f868607861f2bb196a7c700835 (patch) | |
tree | 0949f202efca5e45dcf6fe6aaff9635f279dcadb /libavcodec | |
parent | d8b31be6caebd8d1321ecb754b6e7daaf81dc111 (diff) |
Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 2 | ||||
-rw-r--r-- | libavcodec/svq1enc.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f2f37c865e..cad2520da4 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2923,7 +2923,7 @@ static int h264_set_parameter_from_sps(H264Context *h) return 0; } -static enum PixelFormat get_pixel_format(H264Context *h) +static enum AVPixelFormat get_pixel_format(H264Context *h) { switch (h->sps.bit_depth_luma) { case 9: diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index 22668958a9..f06609e442 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -627,7 +627,7 @@ AVCodec ff_svq1_encoder = { .init = svq1_encode_init, .encode2 = svq1_encode_frame, .close = svq1_encode_end, - .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"), }; |