mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue