Changeset 6c733713f98ca9c47ecf6cb4061eb5d00527d45c
- Timestamp:
- 12/09/04 15:06:36
(4 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1102601196 +0000
- git-parent:
[dd4d160548e11e4561684cd7e01d536cfe37a09e]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1102601196 +0000
- Message:
* modules/packetizer/mpeg4video.c: fixed memory leak (patch by Sau).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4efefb8 |
r6c73371 |
|
| 233 | 233 | /* Copy the complete VOL */ |
|---|
| 234 | 234 | p_dec->fmt_out.i_extra = p_start - p_vol; |
|---|
| 235 | | p_dec->fmt_out.p_extra = malloc( p_dec->fmt_out.i_extra ); |
|---|
| | 235 | p_dec->fmt_out.p_extra = |
|---|
| | 236 | realloc( p_dec->fmt_out.p_extra, p_dec->fmt_out.i_extra ); |
|---|
| 236 | 237 | memcpy( p_dec->fmt_out.p_extra, p_vol, p_dec->fmt_out.i_extra ); |
|---|
| 237 | 238 | m4v_VOLParse( &p_dec->fmt_out, |
|---|
| … | … | |
| 498 | 499 | return VLC_SUCCESS; |
|---|
| 499 | 500 | } |
|---|
| 500 | | |
|---|
| 501 | | |
|---|
| 502 | | |
|---|