MAXBFRAMES undeclared, I can't build for Linux #72

Closed
opened 2026-01-29 16:34:27 +00:00 by claunia · 3 comments
Owner

Originally created by @scramatte on GitHub (Sep 1, 2015).

../src/lib_ccx/avc_functions.c: In function ‘slice_header’:
../src/lib_ccx/avc_functions.c:1097:23: error: ‘MAXBFRAMES’ undeclared (first use in this function)
   if (abs(curridx) >= MAXBFRAMES) {
                       ^
../src/lib_ccx/avc_functions.c:1097:23: note: each undeclared identifier is reported only once for each function it appears in
make: *** [objs/avc_functions.o] Error 1
Originally created by @scramatte on GitHub (Sep 1, 2015). ``` ../src/lib_ccx/avc_functions.c: In function ‘slice_header’: ../src/lib_ccx/avc_functions.c:1097:23: error: ‘MAXBFRAMES’ undeclared (first use in this function) if (abs(curridx) >= MAXBFRAMES) { ^ ../src/lib_ccx/avc_functions.c:1097:23: note: each undeclared identifier is reported only once for each function it appears in make: *** [objs/avc_functions.o] Error 1 ```
Author
Owner

@canihavesomecoffee commented on GitHub (Sep 1, 2015):

Hello,

is this happening with the current github or with a certain CCExtractor version obtained through Sourceforge?

If it's from the repository I'm sure @anshul1912 could help a hand :)

Edit:

Looks like it'll be fixed if #220 will be merged by Carlos.

@canihavesomecoffee commented on GitHub (Sep 1, 2015): Hello, is this happening with the current github or with a certain CCExtractor version obtained through Sourceforge? If it's from the repository I'm sure @anshul1912 could help a hand :) Edit: Looks like it'll be fixed if #220 will be merged by Carlos.
Author
Owner

@anshul1912 commented on GitHub (Sep 2, 2015):

MAXBFRAME was defined in ccx_decoders_structs.h
avc_functions.c includes lib_ccx.h
lib_ccx.h includes ccx_decoders_608.h
ccx_decoders_608.h includes ccx_decoders_structs.h

now I have simplified it and now lib_ccx.h includes ccx_decoder_common.h
which include ccx_decoder_structs.h

Warning: just now mainstream of git is broken, @scramatte please download newer git version by tomorrow :)

@anshul1912 commented on GitHub (Sep 2, 2015): MAXBFRAME was defined in ccx_decoders_structs.h avc_functions.c includes lib_ccx.h lib_ccx.h includes ccx_decoders_608.h ccx_decoders_608.h includes ccx_decoders_structs.h now I have simplified it and now lib_ccx.h includes ccx_decoder_common.h which include ccx_decoder_structs.h Warning: just now mainstream of git is broken, @scramatte please download newer git version by tomorrow :)
Author
Owner

@cfsmp3 commented on GitHub (Sep 2, 2015):

Forgot to push the last PR.

All OK now?

On Wed, Sep 2, 2015 at 8:52 AM, Anshul Maheshwari notifications@github.com
wrote:

MAXBFRAME is defined in ccx_decoders_structs.h
avc_functions.c includes lib_ccx.h
lib_ccx.h includes ccx_decoders_608.h
ccx_decoders_608.h includes ccx_decoders_structs.h

and just now mainstream of git is broken, @scramatte
https://github.com/scramatte please download newer git version by
tomorrow :)


Reply to this email directly or view it on GitHub
https://github.com/CCExtractor/ccextractor/issues/221#issuecomment-136955357
.

@cfsmp3 commented on GitHub (Sep 2, 2015): Forgot to push the last PR. All OK now? On Wed, Sep 2, 2015 at 8:52 AM, Anshul Maheshwari notifications@github.com wrote: > MAXBFRAME is defined in ccx_decoders_structs.h > avc_functions.c includes lib_ccx.h > lib_ccx.h includes ccx_decoders_608.h > ccx_decoders_608.h includes ccx_decoders_structs.h > > and just now mainstream of git is broken, @scramatte > https://github.com/scramatte please download newer git version by > tomorrow :) > > — > Reply to this email directly or view it on GitHub > https://github.com/CCExtractor/ccextractor/issues/221#issuecomment-136955357 > .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#72