Commit 3cce300a authored by shans's avatar shans

Deal correctly with seeking back into headers when calculating gp values



git-svn-id: http://svn.annodex.net/liboggz/trunk@3205 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 0e4083f5
...@@ -399,8 +399,8 @@ auto_calc_theora(ogg_int64_t now, oggz_stream_t *stream, ogg_packet *op) { ...@@ -399,8 +399,8 @@ auto_calc_theora(ogg_int64_t now, oggz_stream_t *stream, ogg_packet *op) {
if (info == NULL) { if (info == NULL) {
stream->calculate_data = malloc(sizeof(auto_calc_theora_info_t)); stream->calculate_data = malloc(sizeof(auto_calc_theora_info_t));
info = stream->calculate_data; info = stream->calculate_data;
info->encountered_first_data_packet = 0;
} }
info->encountered_first_data_packet = 0;
return (ogg_int64_t)0; return (ogg_int64_t)0;
} }
......
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