diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-17 01:37:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-17 01:37:59 +0100 |
commit | 905c4dc2b0d564e1b9b6bc6eeca0b8915b81cd8c (patch) | |
tree | c46faa7a7d8da8a87243282401827072b7314445 /libavcodec/dpxenc.c | |
parent | 00430075bd0f06e4c6d9612f3a522255155b035b (diff) | |
download | ffmpeg-905c4dc2b0d564e1b9b6bc6eeca0b8915b81cd8c.tar.gz |
dpxenc: Dont store lavc indent when bitexact is set.
This avoids fate breakage from bumping version.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dpxenc.c')
-rw-r--r-- | libavcodec/dpxenc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c index fa8a190aa2..de32e4e959 100644 --- a/libavcodec/dpxenc.c +++ b/libavcodec/dpxenc.c @@ -121,7 +121,9 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, memcpy (buf + 8, "V1.0", 4); write32(buf + 20, 1); /* new image */ write32(buf + 24, HEADER_SIZE); - memcpy (buf + 160, LIBAVCODEC_IDENT, FFMIN(sizeof(LIBAVCODEC_IDENT), 100)); + if(!(avctx->flags & CODEC_FLAG_BITEXACT)){ + memcpy (buf + 160, LIBAVCODEC_IDENT, FFMIN(sizeof(LIBAVCODEC_IDENT), 100)); + } write32(buf + 660, 0xFFFFFFFF); /* unencrypted */ /* Image information header */ |