History

avcodec/zmbv: remove the unnecessary type conversion

Limin Wang committed 7 years ago

Commit 607b85f1 parent 1b3d5091 file · +1 −1Browse files

Unified · Split

libavcodec/zmbv.c+1−1
@@ -536,7 +536,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac · 535 unmodified lines
536536 c->decomp_len = len;
537537 } else { // ZLIB-compressed data
538538 c->zstream.total_in = c->zstream.total_out = 0;
539− c->zstream.next_in = (uint8_t*)buf;
539+ c->zstream.next_in = buf;
540540 c->zstream.avail_in = len;
541541 c->zstream.next_out = c->decomp_buf;
542542 c->zstream.avail_out = c->decomp_size;

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