[FFmpeg-cvslog] aacdec.c: fix some comments

Reinhard Nissl git at videolan.org
Sun Sep 9 22:54:38 CEST 2012


ffmpeg | branch: master | Reinhard Nissl <rnissl at gmx.de> | Sun Sep  9 21:55:23 2012 +0200| [2474ca1a22d267f733685bfba76ea99ce2a3c130] | committer: Michael Niedermayer

aacdec.c: fix some comments

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2474ca1a22d267f733685bfba76ea99ce2a3c130
---

 libavcodec/aacdec.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index b0a072d..af91879 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -2717,9 +2717,9 @@ static int read_stream_mux_config(struct LATMContext *latmctx,
             return AVERROR_PATCHWELCOME;
         }
 
-        // for each program (which there is only on in DVB)
+        // for each program (which there is only one in DVB)
 
-        // for each layer (which there is only on in DVB)
+        // for each layer (which there is only one in DVB)
         if (get_bits(gb, 3)) {                   // numLayer
             av_log_missing_feature(latmctx->aac_ctx.avctx,
                                    "multiple layers are not supported\n", 1);
@@ -2840,7 +2840,7 @@ static int latm_decode_frame(AVCodecContext *avctx, void *out,
         return AVERROR_INVALIDDATA;
 
     muxlength = get_bits(&gb, 13) + 3;
-    // not enough data, the parser should have sorted this
+    // not enough data, the parser should have sorted this out
     if (muxlength > avpkt->size)
         return AVERROR_INVALIDDATA;
 



More information about the ffmpeg-cvslog mailing list