mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master:
cavs: Check for negative cbp
Conflicts:
libavcodec/cavsdec.c
See: 9f06c1c61e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
8d9f08ef32
@ -609,7 +609,7 @@ static inline int decode_residual_inter(AVSContext *h)
|
||||
/* get coded block pattern */
|
||||
int cbp = get_ue_golomb(&h->gb);
|
||||
if (cbp > 63U) {
|
||||
av_log(h->avctx, AV_LOG_ERROR, "illegal inter cbp\n");
|
||||
av_log(h->avctx, AV_LOG_ERROR, "illegal inter cbp %d\n", cbp);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
h->cbp = cbp_tab[cbp][1];
|
||||
|
Loading…
Reference in New Issue
Block a user