#include <math.h>
#include <limits.h>
#include "avformat.h"
+#include "avdevice.h"
#include "rtsp.h"
#include "swscale.h"
#include "avstring.h"
int flags;
/* register all codecs, demux and protocols */
+ avcodec_register_all();
+ avdevice_register_all();
av_register_all();
show_banner(program_name, program_birth_year);