[vlc-devel] [PATCH] Revert "According to the AVI-specs. the pixels are square. Therefore the aspect ratio"

VlcVelope 1034-135 at online.de
Fri Apr 27 19:13:05 CEST 2012


This reverts commit 37891686e231f48ce718ded7979aa6c55f27dbef.
---
 modules/demux/avi/avi.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 25a4d9c..08659d9 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -530,7 +530,6 @@ static int Open( vlc_object_t * p_this )
                 fmt.video.i_bits_per_pixel = p_vids->p_bih->biBitCount;
                 fmt.video.i_frame_rate = tk->i_rate;
                 fmt.video.i_frame_rate_base = tk->i_scale;
-                fmt.video.i_sar_num = fmt.video.i_sar_den = 1;
                 fmt.i_extra =
                     __MAX( p_vids->p_bih->biSize - sizeof( VLC_BITMAPINFOHEADER ),
                            p_vids->i_chunk_size - sizeof(VLC_BITMAPINFOHEADER) );
-- 
1.7.5.4




More information about the vlc-devel mailing list