[MPlayer-cvslog] r34292 - trunk/libmpcodecs/ad_spdif.c
cehoyos
subversion at mplayerhq.hu
Thu Nov 3 19:45:59 CET 2011
Author: cehoyos
Date: Thu Nov 3 19:45:59 2011
New Revision: 34292
Log:
Use new API avformat_new_stream() instead of the deprecated
av_new_stream().
Patch by Naoya OYAMA, naoya D oyama gmail
Modified:
trunk/libmpcodecs/ad_spdif.c
Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c Thu Nov 3 19:43:49 2011 (r34291)
+++ trunk/libmpcodecs/ad_spdif.c Thu Nov 3 19:45:59 2011 (r34292)
@@ -117,7 +117,7 @@ static int init(sh_audio_t *sh)
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;
More information about the MPlayer-cvslog
mailing list