diff utils.c @ 3758:e966560661e5 libavformat

export sample_aspect_ratio read by the demuxer in a separate field that the one read by the decoder.
author aurel
date Sat, 23 Aug 2008 23:13:58 +0000
parents 945722ee3c89
children 93d4898d9b6e
line wrap: on
line diff
--- a/utils.c	Sat Aug 23 22:36:35 2008 +0000
+++ b/utils.c	Sat Aug 23 23:13:58 2008 +0000
@@ -2331,6 +2331,8 @@
     for(i=0; i<MAX_REORDER_DELAY+1; i++)
         st->pts_buffer[i]= AV_NOPTS_VALUE;
 
+    st->sample_aspect_ratio = (AVRational){0,1};
+
     s->streams[s->nb_streams++] = st;
     return st;
 }