Fail to build missing enc_ctx declaration #98

Closed
opened 2026-01-29 16:35:13 +00:00 by claunia · 5 comments
Owner

Originally created by @marillat on GitHub (Dec 13, 2015).

Originally assigned to: @canihavesomecoffee on GitHub.

Hi,

0.78 fail to build under Linux (Debian unstable) build with ENABLE_FFMPEG=yes ENABLE_OCR=yes

../src/ccextractor.c: In function ‘main’:
../src/ccextractor.c:107:30: error: ‘struct lib_ccx_ctx’ has no member named ‘buffer’
     unsigned char *bptr = ctx->buffer;
                              ^
../src/ccextractor.c:129:17: error: ‘enc_ctx’ undeclared (first use in this function)
      encode_sub(enc_ctx, &dec_ctx->dec_sub);
Originally created by @marillat on GitHub (Dec 13, 2015). Originally assigned to: @canihavesomecoffee on GitHub. Hi, 0.78 fail to build under Linux (Debian unstable) build with ENABLE_FFMPEG=yes ENABLE_OCR=yes ``` ../src/ccextractor.c: In function ‘main’: ../src/ccextractor.c:107:30: error: ‘struct lib_ccx_ctx’ has no member named ‘buffer’ unsigned char *bptr = ctx->buffer; ^ ../src/ccextractor.c:129:17: error: ‘enc_ctx’ undeclared (first use in this function) encode_sub(enc_ctx, &dec_ctx->dec_sub); ```
Author
Owner

@anshul1912 commented on GitHub (Dec 13, 2015):

Its look like it is because of ffmpeg, which version of ffmpeg are you using

@anshul1912 commented on GitHub (Dec 13, 2015): Its look like it is because of ffmpeg, which version of ffmpeg are you using
Author
Owner

@marillat commented on GitHub (Dec 13, 2015):

2.8.3 from Debian unstable

@marillat commented on GitHub (Dec 13, 2015): 2.8.3 from Debian unstable
Author
Owner

@anshul1912 commented on GitHub (Dec 13, 2015):

Thanks i will test it

@anshul1912 commented on GitHub (Dec 13, 2015): Thanks i will test it
Author
Owner

@canihavesomecoffee commented on GitHub (May 22, 2016):

@marillat Could you test again with the current 0.80 version and report back if this is solved for you?

@canihavesomecoffee commented on GitHub (May 22, 2016): @marillat Could you test again with the current 0.80 version and report back if this is solved for you?
Author
Owner

@marillat commented on GitHub (May 22, 2016):

Build fine ffmpeg 3.0.2
Thanks.

@marillat commented on GitHub (May 22, 2016): Build fine ffmpeg 3.0.2 Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#98