Commit 5e018ae3 authored by colinw's avatar colinw

Fixed a compiler warning



git-svn-id: http://svn.annodex.net/liboggz/trunk@443 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent df21a204
......@@ -154,7 +154,7 @@ auto_theora (OGGZ * oggz, ogg_packet * op, long serialno, void * user_data)
/* old header format, used by Theora alpha2 and earlier */
keyframe_granule_shift = (header[36] & 0xf8) >> 3;
#else
keyframe_granule_shift = (header[40] & 0x03) << 3;
keyframe_granule_shift = (char) ((header[40] & 0x03) << 3);
keyframe_granule_shift |= (header[41] & 0xe0) >> 5;
#endif
tdata->keyframe_shift = intlog (keyframe_granule_shift - 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment