mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/aacps: Return more specific error codes.
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
fe17f9b956
commit
5d9a69167c
@ -118,7 +118,7 @@ static int read_ ## PAR ## _data(AVCodecContext *avctx, GetBitContext *gb, PSCon
|
|||||||
return 0; \
|
return 0; \
|
||||||
err: \
|
err: \
|
||||||
av_log(avctx, AV_LOG_ERROR, "illegal "#PAR"\n"); \
|
av_log(avctx, AV_LOG_ERROR, "illegal "#PAR"\n"); \
|
||||||
return -1; \
|
return AVERROR_INVALIDDATA; \
|
||||||
}
|
}
|
||||||
|
|
||||||
READ_PAR_DATA(iid, huff_offset[table_idx], 0, FFABS(ps->iid_par[e][b]) > 7 + 8 * ps->iid_quant)
|
READ_PAR_DATA(iid, huff_offset[table_idx], 0, FFABS(ps->iid_par[e][b]) > 7 + 8 * ps->iid_quant)
|
||||||
|
Loading…
Reference in New Issue
Block a user