mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
dpxenc: Dont store lavc indent when bitexact is set.
This avoids fate breakage from bumping version. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
00430075bd
commit
905c4dc2b0
@ -121,7 +121,9 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
|
|||||||
memcpy (buf + 8, "V1.0", 4);
|
memcpy (buf + 8, "V1.0", 4);
|
||||||
write32(buf + 20, 1); /* new image */
|
write32(buf + 20, 1); /* new image */
|
||||||
write32(buf + 24, HEADER_SIZE);
|
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 */
|
write32(buf + 660, 0xFFFFFFFF); /* unencrypted */
|
||||||
|
|
||||||
/* Image information header */
|
/* Image information header */
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
a80049454fe1f00233be79b87a4f9c07 *./tests/data/images/dpx/02.dpx
|
808ea110635774252439722a48329d61 *./tests/data/images/dpx/02.dpx
|
||||||
./tests/data/images/dpx/%02d.dpx CRC=0x6da01946
|
./tests/data/images/dpx/%02d.dpx CRC=0x6da01946
|
||||||
305792 ./tests/data/images/dpx/02.dpx
|
305792 ./tests/data/images/dpx/02.dpx
|
||||||
|
Loading…
Reference in New Issue
Block a user