Changeset 23fc364a43d2f65ecdbbf06baf39fb729e1dfb09
- Timestamp:
- 14/09/04 13:38:50
(4 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1095161930 +0000
- git-parent:
[7cddcee812d9362c234f568c460d121f2cc47e93]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1095161930 +0000
- Message:
* modules/demux/asf/asf.c: fixed overflow in aspect ratio calculation.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r7cf2ad4 |
r23fc364 |
|
| 731 | 731 | if( i_aspect_x && i_aspect_y ) |
|---|
| 732 | 732 | { |
|---|
| 733 | | fmt.video.i_aspect = i_aspect_x * fmt.video.i_width * |
|---|
| 734 | | VOUT_ASPECT_FACTOR / |
|---|
| 735 | | (int64_t)fmt.video.i_height / i_aspect_y; |
|---|
| 736 | | } |
|---|
| | 733 | fmt.video.i_aspect = i_aspect_x * |
|---|
| | 734 | (int64_t)fmt.video.i_width * VOUT_ASPECT_FACTOR / |
|---|
| | 735 | fmt.video.i_height / i_aspect_y; |
|---|
| | 736 | } |
|---|
| 737 | 737 | } |
|---|
| 738 | 738 | |
|---|