changeset 37134:39b662840ac7

ad_spdif: do not call internal write_packet function directly. Use av_write_frame instead. Patch by Jan Andres [jandres gmx net].
author reimar
date Sat, 28 Jun 2014 19:57:15 +0000
parents 0ffcf1ae8b91
children 488545e72316
files libmpcodecs/ad_spdif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_spdif.c	Mon Jun 23 11:48:21 2014 +0000
+++ b/libmpcodecs/ad_spdif.c	Sat Jun 28 19:57:15 2014 +0000
@@ -265,7 +265,7 @@
             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;
     }