Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175402
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 174616
Assigned To: Gentoo Web Application Packages Maintainers <web-apps@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: CPUShare <cpushare@cpushare.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175402 depends on: Show dependency tree
Bug 175402 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-21 00:27 0000
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include  
-O2 -march=pentium4 -pipe -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c
-o zm_monitor.o zm_monitor.cpp
/usr/include/ffmpeg/avformat.h: In function 'void av_init_packet(AVPacket*)':
/usr/include/ffmpeg/avformat.h:66: error: 'INT64_C' was not declared in this
scope


Fix is:

--- /tmp/avcodec.h      2007-04-21 02:25:47.000000000 +0200
+++ /usr/include/ffmpeg/avcodec.h       2007-04-21 02:25:55.000000000 +0200
@@ -43,7 +43,7 @@

 #define LIBAVCODEC_IDENT        "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)

-#define AV_NOPTS_VALUE          INT64_C(0x8000000000000000)
+#define AV_NOPTS_VALUE          0x8000000000000000L
 #define AV_TIME_BASE            1000000
 #define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}


Then it compiles fine, dunno if it works fine too because I never tried the
mpeg generation feature yet but clearly it now has a chance at least.

The previous stable ffmpeg package didn't have this problem, I noticed this
breakage when I had to recompile zoneminder against new ffmpeg with
revdep-rebuild.

Reproducible: Always

------- Comment #1 From Peter Fox 2007-05-12 08:23:55 0000 -------
Is this not the same problem as bug 174616?

------- Comment #2 From CPUShare 2007-05-12 10:07:09 0000 -------
yes sorry for the dup

*** This bug has been marked as a duplicate of bug 174616 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug