Mercurial > mplayer.hg
diff libmpdemux/demux_rtp_codec.cpp @ 34173:a5d8b198c214
demux_rtp: Replace extern declarations by proper header #includes.
| author | diego |
|---|---|
| date | Wed, 26 Oct 2011 15:12:25 +0000 |
| parents | 8fa2f43cb760 |
| children | f3d53cd55376 |
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp Tue Oct 25 20:45:09 2011 +0000 +++ b/libmpdemux/demux_rtp_codec.cpp Wed Oct 26 15:12:25 2011 +0000 @@ -23,6 +23,8 @@ extern "C" { #include <limits.h> #include <math.h> + +#include "mpcommon.h" #include "stheader.h" #include "libavutil/base64.h" } @@ -359,7 +361,7 @@ // figure out the frame rate by itself, so (unless the user specifies // it manually, using "-fps") we figure it out ourselves here, using the // presentation timestamps in successive packets, - extern double force_fps; if (force_fps != 0.0) return; // user used "-fps" + if (force_fps != 0.0) return; // user used "-fps" demux_stream_t* d_video = demuxer->video; sh_video_t* sh_video = (sh_video_t*)(d_video->sh);
