projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lavc: AV-prefix all codec flags
[libav.git]
/
libavcodec
/
proresenc.c
diff --git
a/libavcodec/proresenc.c
b/libavcodec/proresenc.c
index
88e9482
..
6079eec
100644
(file)
--- a/
libavcodec/proresenc.c
+++ b/
libavcodec/proresenc.c
@@
-969,7
+969,7
@@
FF_ENABLE_DEPRECATION_WARNINGS
bytestream_put_be16 (&buf, avctx->height);
frame_flags = ctx->chroma_factor << 6;
bytestream_put_be16 (&buf, avctx->height);
frame_flags = ctx->chroma_factor << 6;
- if (avctx->flags & CODEC_FLAG_INTERLACED_DCT)
+ if (avctx->flags &
AV_
CODEC_FLAG_INTERLACED_DCT)
frame_flags |= pic->top_field_first ? 0x04 : 0x08;
bytestream_put_byte (&buf, frame_flags);
frame_flags |= pic->top_field_first ? 0x04 : 0x08;
bytestream_put_byte (&buf, frame_flags);
@@
-1131,7
+1131,7
@@
static av_cold int encode_init(AVCodecContext *avctx)
int mps;
int i, j;
int min_quant, max_quant;
int mps;
int i, j;
int min_quant, max_quant;
- int interlaced = !!(avctx->flags & CODEC_FLAG_INTERLACED_DCT);
+ int interlaced = !!(avctx->flags &
AV_
CODEC_FLAG_INTERLACED_DCT);
avctx->bits_per_raw_sample = 10;
avctx->bits_per_raw_sample = 10;