diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-27 03:12:28 +0400 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-27 03:12:28 +0400 |
commit | 126b638ea0c7838fde13850a0ad833170a269253 (patch) | |
tree | 7b47bf6060b6b8d8a45d23c49ca3aede2945132e /ffplay.c | |
parent | db9cc3a55a130349667f78f3ad337285c831312b (diff) |
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.
Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,6 +26,7 @@ #include "libavutil/avstring.h" #include "libavutil/colorspace.h" #include "libavutil/pixdesc.h" +#include "libavcore/parseutils.h" #include "libavformat/avformat.h" #include "libavdevice/avdevice.h" #include "libswscale/swscale.h" @@ -2949,7 +2950,7 @@ static void event_loop(void) static void opt_frame_size(const char *arg) { - if (av_parse_video_frame_size(&frame_width, &frame_height, arg) < 0) { + if (av_parse_video_size(&frame_width, &frame_height, arg) < 0) { fprintf(stderr, "Incorrect frame size\n"); exit(1); } |