diff options
author | Boris Maksalov <boris.maksalov@yandex.ru> | 2012-08-14 10:05:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-14 16:57:39 +0200 |
commit | f0cbab2ac73733f3521640e3fc37ee0bd67c5590 (patch) | |
tree | 37c79ac67bb48297e1cf3b4462d754d0b78ad3e7 /libavcodec/proresenc_kostya.c | |
parent | a22c996a851fbfd53f075838697759a18bb2f71a (diff) | |
download | ffmpeg-f0cbab2ac73733f3521640e3fc37ee0bd67c5590.tar.gz |
prores_kostya: fix incorrect picture_size field.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/proresenc_kostya.c')
-rw-r--r-- | libavcodec/proresenc_kostya.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index a0feed90ca..8e773617b5 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -818,7 +818,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, orig_buf -= 8; frame_size = buf - orig_buf; - picture_size = buf - picture_size_pos - 6; + picture_size = buf - (picture_size_pos - 1); bytestream_put_be32(&orig_buf, frame_size); bytestream_put_be32(&picture_size_pos, picture_size); |