diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-08-23 08:59:56 -0700 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2011-08-23 08:59:56 -0700 |
commit | 1a9361785cdde74feff211fc48a783ba154bc958 (patch) | |
tree | 80d14f74f1bc4ced11df3cfc7f57066d3d2c1cb9 | |
parent | edb68926aced0739f3e62ea2501bc32326c02f86 (diff) | |
download | xine-lib-1a9361785cdde74feff211fc48a783ba154bc958.tar.gz xine-lib-1a9361785cdde74feff211fc48a783ba154bc958.tar.bz2 |
Logic error with AC3 demuxer
This is a small mistake, but I'm fairly sure the index should be "j" and not
"i".
-rw-r--r-- | src/demuxers/demux_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c index f31578073..cde28adfb 100644 --- a/src/demuxers/demux_ts.c +++ b/src/demuxers/demux_ts.c @@ -1438,7 +1438,7 @@ printf("Program Number is %i, looking for %i\n",program_number,this->program_num if (((stream[i] == 0x6a) || (stream[i] == 0x7a)) && (this->audio_tracks_count < MAX_AUDIO_TRACKS)) { int j, found = 0; for(j = 0; j < this->audio_tracks_count; j++) { - if(this->audio_tracks[i].pid == pid) { + if(this->audio_tracks[j].pid == pid) { found = 1; break; } |