Opened 11 years ago

Closed 11 years ago

#400 closed defect (fixed)

ffplay compilation broken when disable avfilter

Reported by: Ching Yi, Chan Owned by: Michael Niedermayer
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 Ching Yi, Chan 11 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: 0.8.2git-master

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

Note: See TracTickets for help on using tickets.