All pastes #1787622 Raw Edit

LATM patch for ffmpeg sync

public text v1 · immutable
#1787622 ·published 2010-02-06 00:22 UTC
rendered paste body
Index: mythtv/libs/libavcodec/latmaac.c
===================================================================
--- mythtv/libs/libavcodec/latmaac.c	(revision 23330)
+++ mythtv/libs/libavcodec/latmaac.c	(working copy)
@@ -352,6 +352,7 @@
     NeAACDecConfigurationPtr faac_cfg;
 
     avctx->bit_rate = 0;
+    avctx->sample_fmt = SAMPLE_FMT_S16;
     decoder->aac_decoder = NeAACDecOpen();
     if (!decoder->aac_decoder) {
         return -1;