Changeset 256878bc4b10572511d4c96ac5ad1774482fcc56
- Timestamp:
- 21/10/07 14:16:45
(1 year ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1192969005 +0000
- git-parent:
[77aa5b9ebb86cc16a4b57f2f1316ede93b56c188]
- git-author:
- Rafaël Carré <funman@videolan.org> 1192969005 +0000
- Message:
video_output: fix 4 bytes too short memory allocation
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r78f088c |
r256878b |
|
| 1666 | 1666 | { |
|---|
| 1667 | 1667 | char *psz_string = NULL; |
|---|
| 1668 | | |
|---|
| 1669 | | psz_string = malloc( strlen( psz_name ) + strlen( psz_artist ) ); |
|---|
| 1670 | | if( psz_string ) |
|---|
| 1671 | | { |
|---|
| 1672 | | sprintf( psz_string, "%s - %s", psz_name, psz_artist ); |
|---|
| 1673 | | |
|---|
| | 1668 | if( asprintf( &psz_string, "%s - %s", psz_name, psz_artist ) != -1 ) |
|---|
| | 1669 | { |
|---|
| 1674 | 1670 | vout_ShowTextAbsolute( p_vout, DEFAULT_CHAN, |
|---|
| 1675 | 1671 | psz_string, NULL, |
|---|