Commit 8908961a authored by Francois Cartegnie's avatar Francois Cartegnie

demux: nuv: fix divbyzero

parent 13dd520c
...@@ -648,7 +648,8 @@ static int HeaderLoad( demux_t *p_demux, header_t *h ) ...@@ -648,7 +648,8 @@ static int HeaderLoad( demux_t *p_demux, header_t *h )
h->d_fps, h->i_video_blocks, h->i_audio_blocks, h->i_text_blocks, h->d_fps, h->i_video_blocks, h->i_audio_blocks, h->i_text_blocks,
h->i_keyframe_distance ); h->i_keyframe_distance );
#endif #endif
return VLC_SUCCESS;
return (h->d_fps) ? VLC_SUCCESS : VLC_EGENERIC;
} }
/* FrameHeaderLoad: /* FrameHeaderLoad:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment