[MPlayer-cvslog] r37230 - trunk/libmpcodecs/ad_spdif.c

reimar subversion at mplayerhq.hu
Sat Jun 28 21:57:15 CEST 2014


Author: reimar
Date: Sat Jun 28 21:57:15 2014
New Revision: 37230

Log:
ad_spdif: do not call internal write_packet function directly.

Use av_write_frame instead.

Patch by Jan Andres [jandres gmx net].

Modified:
   trunk/libmpcodecs/ad_spdif.c

Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c	Mon Jun 23 13:48:21 2014	(r37229)
+++ trunk/libmpcodecs/ad_spdif.c	Sat Jun 28 21:57:15 2014	(r37230)
@@ -265,7 +265,7 @@ static int decode_audio(sh_audio_t *sh, 
             sh->pts       = pts;
             sh->pts_bytes = 0;
         }
-        ret = lavf_ctx->oformat->write_packet(lavf_ctx, &pkt);
+        ret = av_write_frame(lavf_ctx, &pkt);
         if (ret < 0)
             break;
     }


More information about the MPlayer-cvslog mailing list