Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 425602 Details for
Bug 574826
media-gfx/zbar-0.10: JPEG datastream contains no image
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
zbar jpeg bug patch
zbar-0.10-jpeg-bug.patch (text/plain), 732 bytes, created by
Chris White
on 2016-02-15 22:13:03 UTC
(
hide
)
Description:
zbar jpeg bug patch
Filename:
MIME Type:
Creator:
Chris White
Created:
2016-02-15 22:13:03 UTC
Size:
732 bytes
patch
obsolete
>Upstream patch for YT-GD-538 > >Pulled from: >http://sourceforge.net/p/zbar/code/ci/825b6ec9244619cc616d592e657fc64b5d7b2c25/tree/zbar/jpeg.c?diff=0e183788061038ad5a32543e594ebe48bde89971 > >--- a/zbar/jpeg.c >+++ b/zbar/jpeg.c >@@ -79,8 +79,15 @@ > void skip_input_data (j_decompress_ptr cinfo, > long num_bytes) > { >- cinfo->src->next_input_byte = NULL; >- cinfo->src->bytes_in_buffer = 0; >+ if(num_bytes > 0) { >+ if (num_bytes < cinfo->src->bytes_in_buffer) { >+ cinfo->src->next_input_byte += num_bytes; >+ cinfo->src->bytes_in_buffer -= num_bytes; >+ } >+ else { >+ fill_input_buffer(cinfo); >+ } >+ } > } > > void term_source (j_decompress_ptr cinfo)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 574826
: 425602