OS4 DepotLogo by invent 
(anonymous IP: 216.73.216.169,2518) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
   Markdown composer
 

 Categories

   o Audio (351)
   o Datatype (51)
   o Demo (214)
   o Development (629)
   o Document (24)
   o Driver (103)
   o Emulation (155)
   o Game (1063)
   o Graphics (516)
   o Library (123)
   o Network (243)
   o Office (69)
   o Utility (962)
   o Video (74)

Total files: 4577

Full index file
Recent index file

 Links

  Amigans.net
  Aminet
  IntuitionBase
  Hyperion Entertainment
  A-Eon
  Amiga Future


Support the site


 File comments for:  Development » Example » mpega_demo.lha

Mpega_demo

Description: Mpega.library demo program for OS4.
Download: mpega_demo.lha
Version: 1.3
Date: 24 Feb 2009
Category: development/example
FileID: 4565
RSS Feed url: https://eu.os4depot.net/modules/comments/rssfeed.php?file=development/example/mpega_demo.lha

[Back to readme page]   [Add Comment]   [Refresh page]

Comment by: kas1e (81.9.23.166)At: 12 Mar 2012, 09:43File version: 1.3

@salas00 Thanks a lot ! Yesterday tryint to find correct mpega includs, and there is your version.

Can you upload it on os4depot as well ? something just like "mpegadev" or kind, so noone anymore will worring about.

 
 
Comment by: salass00 (94.101.5.193)At: 11 Mar 2012, 23:53File version: 1.3

Also the libraries/mpega.h include seems to be broken. "#pragma pack(2)" is set near the beginning but it's never set back to the default "#pragma pack()" setting (there is a line near the end containing only "#pragma" though so maybe a typing error). My version doesn't have this problem.

 
 
Comment by: salass00 (94.101.5.193)At: 11 Mar 2012, 23:45File version: 1.3

You can get OS4 mpega.library includes here: http://dl.dropbox.com/u/26599983/mpega_os4_includes.7z

This also includes a proto/mpega.h file.

 
 
Comment by: jaokim (176.10.225.152)At: 11 Mar 2012, 14:38File version: 1.3

In order to make this compile in to an executable, I had to make these modifications:


  1. Actaully link the program, not just compile File: Examples/Mpega/Makefile Change: Remove "-c" on 6th row, so the gcc also links it. [code] gcc $(CFLAGS) $(LIBS) -o $(APPL) $(APPL).c[/code]

  1. Use inlines File: Examples/Mpega/MPEGA_demo.c Change: Add these lines under line 38: [code]#include <inline4/mpega.h> #include <interfaces/mpega.h> [/code]

The second change should really go into the include files with some sort of: [code]#ifdef USE_INLINE include bla bla #endif[/code]

 
 

Copyright © 2004-2026 by Björn Hagström All Rights Reserved