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

ib subversion at mplayerhq.hu
Wed Jun 10 14:24:28 CEST 2015


Author: ib
Date: Wed Jun 10 14:24:28 2015
New Revision: 37417

Log:
Don't depend on FFmpeg internal raw_packet_buffer_remaining_size.

FFmpeg's avformat_alloc_context() now sets it, so MPlayer no longer
has to do it.

This is related to svn r37372 which was a quick hack at the time.

Modified:
   trunk/libmpcodecs/ad_spdif.c

Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c	Mon Jun  8 14:11:22 2015	(r37416)
+++ trunk/libmpcodecs/ad_spdif.c	Wed Jun 10 14:24:28 2015	(r37417)
@@ -23,7 +23,6 @@
 #include "ad_internal.h"
 #include "av_helpers.h"
 #include "libavformat/avformat.h"
-#include "libavformat/internal.h"
 #include "libavcodec/avcodec.h"
 #include "libavutil/opt.h"
 
@@ -130,7 +129,6 @@ static int init(sh_audio_t *sh)
             break;
         }
     }
-    lavf_ctx->internal->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE;
     if (AVERROR_PATCHWELCOME == lavf_ctx->oformat->write_header(lavf_ctx)) {
         mp_msg(MSGT_DECAUDIO,MSGL_INFO,
                "This codec is not supported by spdifenc.\n");


More information about the MPlayer-cvslog mailing list