mirror of https://git.ffmpeg.org/ffmpeg.git
aacdec.c: fix some comments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
16c03f2e91
commit
2474ca1a22
|
@ -2717,9 +2717,9 @@ static int read_stream_mux_config(struct LATMContext *latmctx,
|
||||||
return AVERROR_PATCHWELCOME;
|
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
|
if (get_bits(gb, 3)) { // numLayer
|
||||||
av_log_missing_feature(latmctx->aac_ctx.avctx,
|
av_log_missing_feature(latmctx->aac_ctx.avctx,
|
||||||
"multiple layers are not supported\n", 1);
|
"multiple layers are not supported\n", 1);
|
||||||
|
@ -2840,7 +2840,7 @@ static int latm_decode_frame(AVCodecContext *avctx, void *out,
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
|
||||||
muxlength = get_bits(&gb, 13) + 3;
|
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)
|
if (muxlength > avpkt->size)
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue