summaryrefslogtreecommitdiff
path: root/libav/avidec.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-13 21:37:10 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-13 21:37:10 +0000
commit8be1c6563cd3e13896b8f3381cf6a8e200c1f53b (patch)
tree3f80373f11ddba48ee510969a2af3374e76c8b27 /libav/avidec.c
parent519c2b6d1182513a83efee5b1e8634a7feaedbbf (diff)
win32 fixes
Originally committed as revision 78 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avidec.c')
-rw-r--r--libav/avidec.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libav/avidec.c b/libav/avidec.c
index ec90565feb..342bfd0f07 100644
--- a/libav/avidec.c
+++ b/libav/avidec.c
@@ -16,12 +16,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <netinet/in.h>
-#include <string.h>
-#include <errno.h>
-
#include "avformat.h"
#include "avi.h"
@@ -157,7 +151,7 @@ int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec.width = get_le32(pb);
st->codec.height = get_le32(pb);
if (frame_period)
- st->codec.frame_rate = (1000000LL * FRAME_RATE_BASE) / frame_period;
+ st->codec.frame_rate = (INT64_C(1000000) * FRAME_RATE_BASE) / frame_period;
else
st->codec.frame_rate = 25 * FRAME_RATE_BASE;
get_le16(pb); /* panes */