changeset 34204:c1b5018b5edb

Use new API avformat_new_stream() instead of the deprecated av_new_stream(). Patch by Naoya OYAMA, naoya D oyama gmail
author cehoyos
date Thu, 03 Nov 2011 18:45:59 +0000
parents 362c9229e16e
children 332fa33a47c4
files libmpcodecs/ad_spdif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_spdif.c	Thu Nov 03 18:43:49 2011 +0000
+++ b/libmpcodecs/ad_spdif.c	Thu Nov 03 18:45:59 2011 +0000
@@ -117,7 +117,7 @@
                             read_packet, write_packet, seek);
     if (!lavf_ctx->pb)
         goto fail;
-    stream = av_new_stream(lavf_ctx, 0);
+    stream = avformat_new_stream(lavf_ctx, 0);
     if (!stream)
         goto fail;
     lavf_ctx->duration   = AV_NOPTS_VALUE;