summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 14:05:51 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 14:05:51 +0000
commitb3406c7d67563c84655a07b778a5be15846b1c24 (patch)
treeea08102b1d5200cc11f2ab108eab742fb9ed7d76 /libmpdemux
parent264e6c23fef6ea156cb9653f911e6ec4e95b4813 (diff)
downloadmpv-b3406c7d67563c84655a07b778a5be15846b1c24.tar.bz2
mpv-b3406c7d67563c84655a07b778a5be15846b1c24.tar.xz
Initialize frame rate extension fields in mp_header_process_sequence_header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30682 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/mpeg_hdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/mpeg_hdr.c b/libmpdemux/mpeg_hdr.c
index af1b9223dd..d91019ad13 100644
--- a/libmpdemux/mpeg_hdr.c
+++ b/libmpdemux/mpeg_hdr.c
@@ -67,6 +67,8 @@ int mp_header_process_sequence_header (mp_mpeg_header_t * picture, const unsigne
picture->mpeg1 = 1;
picture->picture_structure = 3; //FRAME_PICTURE;
picture->display_time=100;
+ picture->frame_rate_extension_n = 1;
+ picture->frame_rate_extension_d = 1;
return 0;
}