diff options
author | ArnoB <ffmpeg@rgbaz.eu> | 2013-03-14 18:35:55 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-18 03:27:33 +0100 |
commit | 69659389a3a423cf6320abaa549821d303ac1892 (patch) | |
tree | 3791528be361fcefa8474bc8ae2814df0c85bd5b /libavcodec | |
parent | 731902bd1951eb6d2f9b2c047127aabf73ca2a65 (diff) | |
download | ffmpeg-69659389a3a423cf6320abaa549821d303ac1892.tar.gz |
dpxenc: fix data offset
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 361319d0f49475bc14c744194870f9bab78a8a83)
Conflicts:
tests/ref/lavf/dpx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dpxenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c index bd44b16ffc..f210bbc774 100644 --- a/libavcodec/dpxenc.c +++ b/libavcodec/dpxenc.c @@ -212,6 +212,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, buf[803] = s->bits_per_component; write16(buf + 804, (s->bits_per_component == 10 || s->bits_per_component == 12) ? 1 : 0); /* packing method */ + write32(buf + 808, HEADER_SIZE); /* data offset */ /* Image source information header */ write32(buf + 1628, avctx->sample_aspect_ratio.num); |