summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_ps.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-12 15:00:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-15 22:13:02 +0200
commitaf980aa4f68e49695c25c6a7cdaa175ec8cba2f3 (patch)
treee349519623d447fbc7a0fb4ec1559d9619a5ce2f /libavcodec/hevc_ps.c
parentc8dd048ab8cff815c9f4b16a62db0b74df011f0a (diff)
lavc/hevc_ps: fix PIX_FMT enums
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_ps.c')
-rw-r--r--libavcodec/hevc_ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 5f0b52de65..84d53ab9df 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -623,9 +623,9 @@ int ff_hevc_decode_nal_sps(HEVCContext *s)
if (sps->chroma_format_idc == 1) {
switch (sps->bit_depth) {
- case 8: sps->pix_fmt = PIX_FMT_YUV420P; break;
- case 9: sps->pix_fmt = PIX_FMT_YUV420P9; break;
- case 10: sps->pix_fmt = PIX_FMT_YUV420P10; break;
+ case 8: sps->pix_fmt = AV_PIX_FMT_YUV420P; break;
+ case 9: sps->pix_fmt = AV_PIX_FMT_YUV420P9; break;
+ case 10: sps->pix_fmt = AV_PIX_FMT_YUV420P10; break;
default:
av_log(s->avctx, AV_LOG_ERROR, "Unsupported bit depth: %d\n",
sps->bit_depth);