Changeset c09b9f61b78e6ecea335dccca234cb3111657283
- Timestamp:
- 05/16/07 21:09:04
(1 year ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1179342544 +0000
- git-parent:
[e52e46410c9b9c286c6fe2cfdb8a9feb7521ac8f]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1179342544 +0000
- Message:
Should fix another bunch of: (near initialization for `fmt*') warnings.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1f382c0 |
rc09b9f6 |
|
| 300 | 300 | int i_index; |
|---|
| 301 | 301 | picture_t *p_pic; |
|---|
| 302 | | video_format_t fmt = {0}; |
|---|
| | 302 | video_format_t fmt; |
|---|
| 303 | 303 | vout_sys_t *p_sys = p_vout->p_sys; |
|---|
| 304 | 304 | I_OUTPUTPICTURES = 0; |
|---|
| 305 | 305 | |
|---|
| 306 | 306 | /* Initialize the output video format */ |
|---|
| | 307 | memset( &fmt, 0, sizeof(video_format_t) ); |
|---|
| 307 | 308 | p_vout->output.i_chroma = p_vout->render.i_chroma; |
|---|
| 308 | 309 | p_vout->output.i_width = p_vout->render.i_width; |
|---|
| … | … | |
| 457 | 458 | // input video size |
|---|
| 458 | 459 | CvSize sz = cvSize(abs(p_in->format.i_width), abs(p_in->format.i_height)); |
|---|
| 459 | | video_format_t fmt_out = {0}; |
|---|
| | 460 | video_format_t fmt_out; |
|---|
| 460 | 461 | clock_t start, finish; //performance measures |
|---|
| 461 | 462 | double duration; |
|---|
| 462 | 463 | int i = 0; |
|---|
| 463 | 464 | vout_sys_t* p_sys = p_vout->p_sys; |
|---|
| | 465 | |
|---|
| | 466 | memset( &fmt_out, 0, sizeof(video_format_t) ); |
|---|
| 464 | 467 | |
|---|
| 465 | 468 | start = clock(); |
|---|
| r9ce7298 |
rc09b9f6 |
|
| 136 | 136 | |
|---|
| 137 | 137 | picture_t *p_converted; |
|---|
| 138 | | video_format_t fmt_out = {0}; |
|---|
| | 138 | video_format_t fmt_out; |
|---|
| | 139 | memset( &fmt_out, 0, sizeof(video_format_t) ); |
|---|
| 139 | 140 | fmt_out.p_palette = NULL; |
|---|
| 140 | 141 | |
|---|
| ra90c352 |
rc09b9f6 |
|
| 350 | 350 | picture_t *p_outpic; |
|---|
| 351 | 351 | |
|---|
| 352 | | //video_format_t fmt_out = {0}; |
|---|
| | 352 | //video_format_t fmt_out; |
|---|
| | 353 | // memset( &fmt_out, 0, sizeof(video_format_t) ); |
|---|
| 353 | 354 | //picture_t *p_converted; |
|---|
| 354 | 355 | |
|---|
| rd3fe7f2 |
rc09b9f6 |
|
| 132 | 132 | goom_thread_t *p_thread; |
|---|
| 133 | 133 | vlc_value_t width, height; |
|---|
| 134 | | video_format_t fmt = {0}; |
|---|
| | 134 | video_format_t fmt; |
|---|
| | 135 | |
|---|
| 135 | 136 | |
|---|
| 136 | 137 | if ( p_filter->input.i_format != VLC_FOURCC('f','l','3','2' ) |
|---|
| … | … | |
| 161 | 162 | var_Create( p_thread, "goom-height", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT ); |
|---|
| 162 | 163 | var_Get( p_thread, "goom-height", &height ); |
|---|
| | 164 | |
|---|
| | 165 | memset( &fmt, 0, sizeof(video_format_t) ); |
|---|
| 163 | 166 | |
|---|
| 164 | 167 | fmt.i_width = fmt.i_visible_width = width.i_int; |
|---|
| rd3fe7f2 |
rc09b9f6 |
|
| 189 | 189 | |
|---|
| 190 | 190 | char *psz_effects, *psz_parser; |
|---|
| 191 | | video_format_t fmt = {0}; |
|---|
| | 191 | video_format_t fmt; |
|---|
| | 192 | |
|---|
| 192 | 193 | |
|---|
| 193 | 194 | if( ( p_filter->input.i_format != VLC_FOURCC('f','l','3','2') && |
|---|
| … | … | |
| 303 | 304 | |
|---|
| 304 | 305 | /* Open the video output */ |
|---|
| | 306 | memset( &fmt, 0, sizeof(video_format_t) ); |
|---|
| | 307 | |
|---|
| 305 | 308 | fmt.i_width = fmt.i_visible_width = p_sys->i_width; |
|---|
| 306 | 309 | fmt.i_height = fmt.i_visible_height = p_sys->i_height; |
|---|