mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168732 - Update libnestegg to pick up nestegg_track_codec_data_count fix for Opus handling. r=kinetik
This commit is contained in:
parent
174cb2b5b9
commit
ccff3ec8f9
@ -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 git commit ID used was 493fb475842db86de657101ffac9a06a0cf688de.
|
||||
The git commit ID used was d90e2ccac66e90c4a6f25318f8092b8596c97a67.
|
||||
|
@ -2224,6 +2224,7 @@ nestegg_track_codec_data_count(nestegg * ctx, unsigned int track,
|
||||
{
|
||||
struct track_entry * entry;
|
||||
struct ebml_binary codec_private;
|
||||
int codec_id;
|
||||
unsigned char * p;
|
||||
|
||||
*count = 0;
|
||||
@ -2232,7 +2233,14 @@ nestegg_track_codec_data_count(nestegg * ctx, unsigned int track,
|
||||
if (!entry)
|
||||
return -1;
|
||||
|
||||
if (nestegg_track_codec_id(ctx, track) != NESTEGG_CODEC_VORBIS)
|
||||
codec_id = nestegg_track_codec_id(ctx, track);
|
||||
|
||||
if (codec_id == NESTEGG_CODEC_OPUS) {
|
||||
*count = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (codec_id != NESTEGG_CODEC_VORBIS)
|
||||
return -1;
|
||||
|
||||
if (ne_get_binary(entry->codec_private, &codec_private) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user