Opened 5 months ago

Closed 5 months ago

#10670 closed defect (fixed)

error compiling 6.1

Reported by: Abu Abdullah Owned by:
Priority: normal Component: ffmpeg
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I have compiled v 6.1 with mmal in Pi, it gives me this error

libavcodec/mmaldec.c:847:9: error: request for member ‘p’ in something
not a structure or union
  847 |         .p.pix_fmts     = (const enum AVPixelFormat[]) {
AV_PIX_FMT_MMAL, \
      |         ^
libavcodec/mmaldec.c:857:1: note: in expansion of macro ‘FFMMAL_DEC’
  857 | FFMMAL_DEC(vc1, AV_CODEC_ID_VC1)
      | ^~~~~~~~~~
make: *** [ffbuild/common.mak:81: libavcodec/mmaldec.o] Error 1
make: *** Waiting for unfinished jobs....

it was working fine in 6.0

I think it is a syntax error. a comma is needed

Change History (1)

comment:1 by Balling, 5 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.