[FFmpeg-cvslog] r25762 - trunk/libavformat/spdifenc.c

cehoyos subversion
Thu Nov 18 00:23:25 CET 2010


Author: cehoyos
Date: Thu Nov 18 00:23:25 2010
New Revision: 25762

Log:
100l: Fix crash in SPDIF muxer.

Modified:
   trunk/libavformat/spdifenc.c

Modified: trunk/libavformat/spdifenc.c
==============================================================================
--- trunk/libavformat/spdifenc.c	Wed Nov 17 23:58:28 2010	(r25761)
+++ trunk/libavformat/spdifenc.c	Thu Nov 18 00:23:25 2010	(r25762)
@@ -253,6 +253,7 @@ static int spdif_write_packet(struct AVF
     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;
 



More information about the ffmpeg-cvslog mailing list