diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-01-07 00:03:19 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-01-07 00:03:19 +0000 |
commit | 4f632b065bad7e88551740193ef21177d33caa93 (patch) | |
tree | 8bbff6a6e63c0cba6539603e8488fed6141e059d /libavformat/matroskadec.c | |
parent | 82a6c4811a2c0aa93efa41749ba3950c3829068e (diff) | |
download | ffmpeg-4f632b065bad7e88551740193ef21177d33caa93.tar.gz |
Make ff_mkv_codec_tags lie entirely in .rodata section.
From: Diego 'Flameeyes' Pettenò < flameeyes _at_ gmail _dot_ com >
Originally committed as revision 11440 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index ccf636b597..cc45e9599c 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2048,7 +2048,7 @@ matroska_read_header (AVFormatContext *s, if (track->codec_id == NULL) continue; - for(j=0; ff_mkv_codec_tags[j].str; j++){ + for(j=0; ff_mkv_codec_tags[j].id != CODEC_ID_NONE; j++){ if(!strncmp(ff_mkv_codec_tags[j].str, track->codec_id, strlen(ff_mkv_codec_tags[j].str))){ codec_id= ff_mkv_codec_tags[j].id; |