Bug 1251504 - Update libnestegg to remove generated nestegg-stdint.h. r=giles

This commit is contained in:
Matthew Gregan 2016-02-26 15:38:14 +13:00
parent bfff256ed1
commit 7858ca1a9f
5 changed files with 4 additions and 8 deletions

View File

@ -5,4 +5,4 @@ Makefile.in build files for the Mozilla build system.
The nestegg git repository is: git://github.com/kinetiknz/nestegg.git The nestegg git repository is: git://github.com/kinetiknz/nestegg.git
The git commit ID used was c84eed87f214e2a551a971b7e9fffd9a0223d6c2. The git commit ID used was 6f0a01d75a222032357fb829be1f56905dc9cede.

View File

@ -5,7 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
EXPORTS.nestegg += [ EXPORTS.nestegg += [
'nestegg-stdint.h',
'nestegg.h', 'nestegg.h',
] ]

View File

@ -1,5 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdint.h>

View File

@ -8,7 +8,7 @@
#define NESTEGG_671cac2a_365d_ed69_d7a3_4491d3538d79 #define NESTEGG_671cac2a_365d_ed69_d7a3_4491d3538d79
#include <limits.h> #include <limits.h>
#include <nestegg/nestegg-stdint.h> #include <stdint.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {

View File

@ -2142,6 +2142,8 @@ nestegg_track_seek(nestegg * ctx, unsigned int track, uint64_t tstamp)
/* Seek and set up parser state for segment-level element (Cluster). */ /* Seek and set up parser state for segment-level element (Cluster). */
r = nestegg_offset_seek(ctx, ctx->segment_offset + seek_pos); r = nestegg_offset_seek(ctx, ctx->segment_offset + seek_pos);
if (r != 0)
return -1;
if (!ne_is_suspend_element(ctx->last_id)) if (!ne_is_suspend_element(ctx->last_id))
return -1; return -1;