History

avcodec/ituh263dec: Fix undefined left shift of negative number

Fixes ticket #8160.

Andreas Rheinhardt committed 7 years ago

Commit 324487b1 parent b7f156e1 file · +1 −1Browse files

Unified · Split

libavcodec/ituh263dec.c+1−1
@@ -1281,7 +1281,7 @@ int ff_h263_decode_picture_header(MpegEncContext *s) · 1280 unmodified lines
1281 for(i=0; i<13; i++){1281 for(i=0; i<13; i++){
1282 for(j=0; j<3; j++){1282 for(j=0; j<3; j++){
1283 int v= get_bits(&s->gb, 8);1283 int v= get_bits(&s->gb, 8);
1284 v |= get_sbits(&s->gb, 8)<<8;1284 v |= get_sbits(&s->gb, 8) * (1 << 8);
1285 av_log(s->avctx, AV_LOG_DEBUG, " %5d", v);1285 av_log(s->avctx, AV_LOG_DEBUG, " %5d", v);
1286 }1286 }
1287 av_log(s->avctx, AV_LOG_DEBUG, "\n");1287 av_log(s->avctx, AV_LOG_DEBUG, "\n");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t