Mercurial > mplayer.hg
comparison stream/stream_cue.c @ 33427:ebee3b6ab9ce
Fix 0-termination being placed one byte too far.
Part of patch by Ivan Kalvachev [ikalvachev gmail com].
author | reimar |
---|---|
date | Sun, 29 May 2011 11:45:47 +0000 |
parents | fe99e2d4ffb1 |
children | 043d9e61e043 |
comparison
equal
deleted
inserted
replaced
33426:fe99e2d4ffb1 | 33427:ebee3b6ab9ce |
---|---|
203 | 203 |
204 default: | 204 default: |
205 i++; | 205 i++; |
206 } | 206 } |
207 } | 207 } |
208 bin_filename[i+1] = '\0'; | 208 bin_filename[i] = '\0'; |
209 | 209 |
210 } | 210 } |
211 | 211 |
212 fd_bin = -1; | 212 fd_bin = -1; |
213 for (i = 0; fd_bin == -1 && i < 6; i++) { | 213 for (i = 0; fd_bin == -1 && i < 6; i++) { |