Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Maksalov <boris.maksalov@yandex.ru>2012-08-14 13:05:38 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-08-14 18:57:39 +0400
commitf0cbab2ac73733f3521640e3fc37ee0bd67c5590 (patch)
tree37c79ac67bb48297e1cf3b4462d754d0b78ad3e7 /libavcodec/proresenc_kostya.c
parenta22c996a851fbfd53f075838697759a18bb2f71a (diff)
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.c2
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);