Move variable declaration, fixes the warning:
ffplay.c:1703: warning: unused variable `pos' Originally committed as revision 22611 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1366f05978
commit
4903b5ca35
3
ffplay.c
3
ffplay.c
@ -1700,11 +1700,12 @@ static int video_thread(void *arg)
|
|||||||
{
|
{
|
||||||
VideoState *is = arg;
|
VideoState *is = arg;
|
||||||
AVFrame *frame= avcodec_alloc_frame();
|
AVFrame *frame= avcodec_alloc_frame();
|
||||||
int64_t pts_int, pos;
|
int64_t pts_int;
|
||||||
double pts;
|
double pts;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
#if CONFIG_AVFILTER
|
#if CONFIG_AVFILTER
|
||||||
|
int64_t pos;
|
||||||
AVFilterContext *filt_src = NULL, *filt_out = NULL;
|
AVFilterContext *filt_src = NULL, *filt_out = NULL;
|
||||||
AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph));
|
AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph));
|
||||||
graph->scale_sws_opts = av_strdup("sws_flags=bilinear");
|
graph->scale_sws_opts = av_strdup("sws_flags=bilinear");
|
||||||
|
Loading…
Reference in New Issue
Block a user