Changeset f4e4859fd74264e27f3e1c29fef6a46abc603610
- Timestamp:
- 04/05/07 13:06:45
(1 year ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1175771205 +0000
- git-parent:
[21bd97f551b0e8beb482817e4fc27fbf682559cd]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1175771205 +0000
- Message:
Fix missing initializer compiler. Use memset to properly clear the entire struct.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r2c97594 |
rf4e4859 |
|
| 445 | 445 | { |
|---|
| 446 | 446 | image_handler_t *p_image = image_HandlerCreate( p_vout ); |
|---|
| 447 | | video_format_t fmt_in = {0}, fmt_out = {0}; |
|---|
| | 447 | video_format_t fmt_in, fmt_out; |
|---|
| 448 | 448 | char *psz_filename = NULL; |
|---|
| 449 | 449 | subpicture_t *p_subpic; |
|---|
| … | … | |
| 451 | 451 | vlc_value_t val, format; |
|---|
| 452 | 452 | DIR *path; |
|---|
| 453 | | |
|---|
| 454 | 453 | int i_ret; |
|---|
| | 454 | |
|---|
| | 455 | memset( &fmt_in, 0, sizeof(video_format_t)); |
|---|
| | 456 | memset( &fmt_out, 0, sizeof(video_format_t)); |
|---|
| 455 | 457 | |
|---|
| 456 | 458 | var_Get( p_vout, "snapshot-path", &val ); |
|---|