summaryrefslogtreecommitdiff
path: root/libavformat/gifdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/gifdec.c')
-rw-r--r--libavformat/gifdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c
index b827845fe9..0ee59bc5f3 100644
--- a/libavformat/gifdec.c
+++ b/libavformat/gifdec.c
@@ -535,7 +535,8 @@ static int gif_read_header(AVFormatContext * s1,
st->codec.codec_type = CODEC_TYPE_VIDEO;
st->codec.codec_id = CODEC_ID_RAWVIDEO;
- st->codec.frame_rate = 5 * FRAME_RATE_BASE;
+ st->codec.frame_rate = 5;
+ st->codec.frame_rate_base = 1;
/* XXX: check if screen size is always valid */
st->codec.width = s->screen_width;
st->codec.height = s->screen_height;