From 4b6bfbe2b70ea87831fa9a42a2ac112ee8a386d2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 17 Nov 2010 23:23:25 +0000 Subject: [PATCH] 100l: Fix crash in SPDIF muxer. Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/spdifenc.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.7.4