[SCM] libav/experimental: 100l: Fix crash in SPDIF muxer.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:19:05 UTC 2013


The following commit has been merged in the experimental branch:
commit 4b6bfbe2b70ea87831fa9a42a2ac112ee8a386d2
Author: Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at>
Date:   Wed Nov 17 23:23:25 2010 +0000

    100l: Fix crash in SPDIF muxer.
    
    Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index ed02b2e..0dcf98c 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -253,6 +253,7 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt)
     IEC958Context *ctx = s->priv_data;
     int ret, padding;
 
+    ctx->out_buf = pkt->data;
     ctx->out_bytes = pkt->size;
     ctx->length_code = FFALIGN(pkt->size, 2) << 3;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list