Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: source/patched-ffmpeg-mt/libavcodec/qdm2.c

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/libavcodec/ptx.c ('k') | source/patched-ffmpeg-mt/libavcodec/qtrleenc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavcodec/qdm2.c
===================================================================
--- source/patched-ffmpeg-mt/libavcodec/qdm2.c (revision 59334)
+++ source/patched-ffmpeg-mt/libavcodec/qdm2.c (working copy)
@@ -1209,7 +1209,8 @@
init_get_bits(&gb, header.data, header.size*8);
if (header.type == 2 || header.type == 4 || header.type == 5) {
- int csum = 257 * get_bits(&gb, 8) + 2 * get_bits(&gb, 8);
+ int csum = 257 * get_bits(&gb, 8);
+ csum += 2 * get_bits(&gb, 8);
csum = qdm2_packet_checksum(q->compressed_data, q->checksum_size, csum);
« no previous file with comments | « source/patched-ffmpeg-mt/libavcodec/ptx.c ('k') | source/patched-ffmpeg-mt/libavcodec/qtrleenc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698