Ticket #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 |
Description
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 \ --prefix=/opt/ffmpeg
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
Change History
Changed 22 months ago by qrtt1
-
attachment
0001-fix-compilation-error-when-disable-avfilters.patch
added
Note: See
TracTickets for help on using
tickets.


