[flvmeta] 3 new revisions pushed by marc.noi...@gmail.com on 2012-06-12 09:57 GMT

2 views
Skip to first unread message

flv...@googlecode.com

unread,
Jun 12, 2012, 5:58:22 AM6/12/12
to flvme...@googlegroups.com
3 new revisions:

Revision: 2da8d81ad41a
Author: Marc Noirot <marc....@gmail.com>
Date: Fri May 4 05:44:38 2012
Log: Fixed a compilation warning.
http://code.google.com/p/flvmeta/source/detail?r=2da8d81ad41a

Revision: 33175eed7139
Author: Marc Noirot <marc....@gmail.com>
Date: Mon Jun 11 05:06:14 2012
Log: Fixed misleading comment....
http://code.google.com/p/flvmeta/source/detail?r=33175eed7139

Revision: a8f4d2314dea
Author: Marc Noirot <marc....@gmail.com>
Date: Mon Jun 11 14:21:16 2012
Log: Optimized read_body variable scope.
http://code.google.com/p/flvmeta/source/detail?r=a8f4d2314dea

==============================================================================
Revision: 2da8d81ad41a
Author: Marc Noirot <marc....@gmail.com>
Date: Fri May 4 05:44:38 2012
Log: Fixed a compilation warning.

http://code.google.com/p/flvmeta/source/detail?r=2da8d81ad41a

Modified:
/src/json.c

=======================================
--- /src/json.c Tue May 1 13:10:40 2012
+++ /src/json.c Fri May 4 05:44:38 2012
@@ -22,9 +22,9 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA
*/

+#include "json.h"
#include <stdio.h>
#include <string.h>
-#include "json.h"

static void json_print_string(const char * str, size_t bytes) {
size_t i;

==============================================================================
Revision: 33175eed7139
Author: Marc Noirot <marc....@gmail.com>
Date: Mon Jun 11 05:06:14 2012
Log: Fixed misleading comment.
Commented out currently dead code.

http://code.google.com/p/flvmeta/source/detail?r=33175eed7139

Modified:
/src/avc.c

=======================================
--- /src/avc.c Tue Apr 3 02:23:47 2012
+++ /src/avc.c Mon Jun 11 05:06:14 2012
@@ -30,7 +30,7 @@
*/
typedef struct __bit_buffer {
byte * start;
- size_t size;
+ /*size_t size;*/
byte * current;
uint8 read_bits;
} bit_buffer;
@@ -140,7 +140,7 @@
uint8 frame_mbs_only_flag;

bb.start = sps;
- bb.size = sps_size;
+ /*bb.size = sps_size;*/
bb.current = sps;
bb.read_bits = 0;

@@ -148,7 +148,7 @@
skip_bits(&bb, 8);
/* get profile */
profile = get_bits(&bb, 8);
- /* skip 4 bits + 4 zeroed bits + 8 bits = 32 bits = 4 bytes */
+ /* skip 4 bits + 4 zeroed bits + 8 bits = 16 bits = 2 bytes */
skip_bits(&bb, 16);

/* read sps id, first exp-golomb encoded value */

==============================================================================
Revision: a8f4d2314dea
Author: Marc Noirot <marc....@gmail.com>
Date: Mon Jun 11 14:21:16 2012
Log: Optimized read_body variable scope.

http://code.google.com/p/flvmeta/source/detail?r=a8f4d2314dea

Modified:
/src/update.c

=======================================
--- /src/update.c Tue Apr 3 02:23:47 2012
+++ /src/update.c Mon Jun 11 14:21:16 2012
@@ -113,7 +113,6 @@
have_on_last_second = 0;
while (flv_read_tag(flv_in, &ft) == FLV_OK) {
file_offset_t offset;
- size_t read_body;
uint32 body_length;
uint32 timestamp;

@@ -178,6 +177,8 @@
}
}
else {
+ size_t read_body;
+
/* insert an onLastSecond metadata tag */
if (opts->insert_onlastsecond && !have_on_last_second
&& !info->have_on_last_second && (info->last_timestamp - timestamp) <=
1000) {
flv_tag tag;
Reply all
Reply to author
Forward
0 new messages