Opened 5 years ago

Closed 5 years ago

#400 closed defect (fixed)

ffplay compilation broken when disable avfilter

Reported by: qrtt1 Owned by: michael
Priority: normal Component: ffplay
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


I check the n0.8.2 tag and compile it with the configuration:

./configure --disable-doc \
--disable-ffserver --disable-muxers --disable-avdevice \
--disable-postproc --disable-avfilter --disable-bsfs \
--disable-filters --disable-devices \
--disable-encoders --disable-asm \
--disable-bzlib \
--disable-zlib \

I got the trouble:

qty:ffmpeg_icy qrtt1$ make
CC      ffplay.o
ffplay.c: In function ‘queue_picture’:
ffplay.c:1411: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type
ffplay.c: In function ‘video_thread’:
ffplay.c:1782: error: ‘picref’ undeclared (first use in this function)
ffplay.c:1782: error: (Each undeclared identifier is reported only once
ffplay.c:1782: error: for each function it appears in.)
ffplay.c: In function ‘SDL_main’:
ffplay.c:3044: warning: assignment discards qualifiers from pointer target type
make: *** [ffplay.o] Error 1

The variable picref should only use when enable avfilters.

Attachments (1)

0001-fix-compilation-error-when-disable-avfilters.patch (672 bytes) - added by qrtt1 5 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 5 years ago by cehoyos

  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from 0.8.2 to git-master

This should be fixed in git master and all future releases.

Note: See TracTickets for help on using tickets.