Commit Graph
77 Commits
Author SHA1 Message Date
François Revol 8fa36ae09d This fixes error handling for BeOS, removing the need for some ifdefs.
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.

Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
François Revol ea65a753eb Remove unused ENODATA define
Originally committed as revision 7943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 22:07:06 +00:00
François Revol 74cec57d8e BeOS specifics: check for Haiku & Zeta (for the future); ignore ldconfig, it just runs here :) ; comment about network checks.
Originally committed as revision 7886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 22:51:26 +00:00
François Revol 66d49636c7 an alloc func failing should give ENOMEM anyway.
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 09:07:49 +00:00
François Revol c9c1a8e794 The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for net_server to IP_MULTICAST_TTL.
Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 17:48:21 +00:00
François Revol e9d511dc7e The long awaited BeOS cleanup, phase 1
Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 17:22:30 +00:00
François Revol 7581c5f50c fix debug code: do not try to take st->codec if st is NULL. This makes ffplay give me pics from FreeBoxTV \o/
Originally committed as revision 5090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:45:27 +00:00
François Revol 003cd80df9 :%s/check_block_2p/check_block_inter/g
Originally committed as revision 4794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 22:41:32 +00:00
François Revol 52137f2f43 this fixes compilation with gcc 2.95 which seems to not like array casting... special case inline of check_block which makes the array and passes it
Originally committed as revision 4793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 21:05:44 +00:00
François Revol ab561df995 finally found what those >138 codes were... crappy compressed 5bit ascii. this gets them correctly, and adds setting track lang in movenc too.
Originally committed as revision 4792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 20:34:08 +00:00
François Revol b9a87c4d6c fix parsing version 1 mdhd atom (64 bit) as suggested by b-o-n-d AT gmx DOT net (unstested); added code to map language codes to stream->language[]
Originally committed as revision 4791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-30 18:25:46 +00:00
François Revol 86f77a493a Add some more PRIfooNN crap so it builds again here. Why can't ppl add defaults when they use such things ?
Originally committed as revision 4741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-13 20:24:31 +00:00
François Revol e684b35d62 fix for systems not defining PRIu64, not everyone knows C99.
Originally committed as revision 4721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-05 23:14:55 +00:00
François Revol 7dd611c900 change my ç from latin-1 to UTF-8. UTF-8 ownz!
Originally committed as revision 4622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-29 08:04:45 +00:00
François Revol 2d216336f8 "don't quit" option to attach a debugger /check mem leaks
"no write" option to only get next packets

Originally committed as revision 4110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-07 16:52:28 +00:00
François Revol 0d23cb8439 Patch for "uuid" atom followed after atom "ftyp" by "QuickTime <ffmpeg AT gmail DOT com>"
Originally committed as revision 4068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-23 11:20:47 +00:00
François Revol 15b34f6386 s/\t/ /g for indentation fairies
Originally committed as revision 4047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 13:49:20 +00:00
François Revol 0fa04b7fde pktdumper debugging utility for demuxers. This tool dumps each AVPacket demuxed to a stamped file.
make pktdumper LDFLAGS='-Llibavformat/ -lavformat'

Originally committed as revision 4044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 23:52:25 +00:00
François Revol fcc872422e Add 3IV2 4CC by "Rob Coenen" <rob AT massive-interactive DOT nl>
Originally committed as revision 4033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-12 13:31:03 +00:00
François Revol cf344ec72c get fish to compile (time() forbidden), pstrcat not declared from ppm.c
Originally committed as revision 3978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 22:07:10 +00:00
François Revol 3e459e39fa use av_free() instead of free() where it's meant to.
Originally committed as revision 3971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-22 11:37:03 +00:00
François Revol 3c8e39f72d Stereo MACE fix by Burkhard Plaum <plaum AT ipf DOT uni-stuttgart DOT de>
Still doesn't work with our mov demuxer though...

Originally committed as revision 3919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-01 15:13:27 +00:00
François Revol f4ff1b92cc added a lock/unlock_lib pair to allow extern progs to serialize access to lavc.
Originally committed as revision 3899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 20:09:33 +00:00
François Revol 0c716ab71d fix segfault by matthieu castet <castet DOT matthieu AT free DOT fr>
Originally committed as revision 3896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 12:13:53 +00:00
François Revol 25cf9062ba don't crash on null codec; by matthieu castet <castet DOT matthieu AT free DOT fr>
Originally committed as revision 3894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 11:19:47 +00:00
François Revol 46103f6bbd fix the patch to allow Sony PSP MP4 creation
Originally committed as revision 3893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-28 08:08:42 +00:00
François Revol 2497479f2b probe for 'junk' and 'pict', changed the scores.
Originally committed as revision 3888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 06:53:09 +00:00
François Revol f219664071 AAC fix by Thomas Raivio <tjraivio AT cc DOT hut DOT fi>
Originally committed as revision 3866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 10:44:50 +00:00
François Revol 7dbab4a9b4 Revert the fixed-size-sample patch as it brokes and others
WTF I thought I had commited this yesterday... was probably too asleep :°)

Originally committed as revision 3864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 09:59:36 +00:00
François Revol c3ea71a097 get debug code to compile again.
Originally committed as revision 3815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 19:35:08 +00:00
François Revol a5ddc19f04 cvsignore config.log
Originally committed as revision 3711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 06:31:38 +00:00
François Revol 2450cff2c3 BeOS threading support. changed some "if FOO_THREAD||BAR_THREAD" to a more generic "if HAVE_THREADS"
Originally committed as revision 3702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-21 18:04:56 +00:00
François Revol 27d5f18f66 First implementation of nsv demuxer.
Get libavformat linked with lavc and lmp3lame is required. BeOS requires no undefined syms on link! (besides it's bad to leave undef syms)

Originally committed as revision 3696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-20 23:10:07 +00:00
François Revol a018d318e7 64 bit pts for writing - more const usage (don't forget me !)
Originally committed as revision 2269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-13 09:20:12 +00:00
François Revol 438fcb754f OSX and BeOS networking fix (socklen_t)
Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-24 13:30:27 +00:00
François Revol aa35ccb8e1 BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to libs needed for audio in.
Originally committed as revision 2044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-15 13:35:20 +00:00
François Revol fb059921da cleanup; BSoundRecorder moved to Experimental namespace
Originally committed as revision 1960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-15 17:06:28 +00:00
François Revol 143d464416 Add latency check, the Media Kit shoul repport it, but this seems broken.
Originally committed as revision 1789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 16:22:12 +00:00
François Revol 6af6cf22c5 avoid detecting mpeg stream when other formats embed mp3 tracks.
Originally committed as revision 1788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 14:35:15 +00:00
François Revol c8816e0167 Fix for buggy (?) g++ (bailling out for beosaudio.cpp)
Originally committed as revision 1736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-05 12:11:10 +00:00
François Revol 335338e884 the media node now won't connect itself to the default audio input with -ad wait:
(allows redirecting another node to it)

Originally committed as revision 1713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-27 15:08:16 +00:00
François Revol 788a2d3d8b experimental BeOS audio input support. (needs unreleased library)
Originally committed as revision 1712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-27 14:44:30 +00:00
François Revol 50515cddf3 cleanup; unused pipe() stuff removed.
Originally committed as revision 1711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-27 13:37:47 +00:00
François Revol 62790b9917 debug stuff only for DEBUG :)
Originally committed as revision 1708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-26 16:46:20 +00:00
François Revol d1db862378 fix build issue with --enable-shared & --enable-vorbis
(should be reverted if ilbavformat ever gets really built as a shared lib)

Originally committed as revision 1680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-13 15:05:54 +00:00
François Revol 7fa140154f /me should really learn doxygen :)
Originally committed as revision 1677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 21:57:24 +00:00
François Revol be12b2a41a more fix for make -j x
Originally committed as revision 1676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 21:48:26 +00:00
François Revol e803f1a2ee Cleaner support for usleep() (with the correct header :)
Originally committed as revision 1669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 17:15:42 +00:00
François Revol d4ad24c17d Cleaner support for usleep()
Originally committed as revision 1668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 17:14:28 +00:00
François Revol 5082f759e0 prettier debug output
Originally committed as revision 1607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-25 13:12:41 +00:00
François Revol dee076fcb7 temporary fix: BeOS only has 'which' as an alias to a shell func :^)
btw, someone should indent this mess =) (maybe I'll do)

Originally committed as revision 1606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-25 12:35:31 +00:00
François Revol d271b84bf7 Looks like this one was forgotten in the INT -> int_t move
Originally committed as revision 1584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-13 00:28:36 +00:00
François Revol 3f07e60546 fix for legacy audio
Originally committed as revision 1583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-12 21:38:38 +00:00
François Revol 04bbd31b9f fix for using ffplay without specifying the audio device
Originally committed as revision 1555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 14:13:52 +00:00
François Revol cc0799e5f8 Fix against C integrists breaks :P (hope I didn't break anything else)
Originally committed as revision 1547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-06 15:09:39 +00:00
François Revol 7ed2dd2db4 removed redundant 4CC
Originally committed as revision 1467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 09:22:52 +00:00
François Revol 8b879f18d1 Fix probing for some files (ew.mov, april.mov)
Originally committed as revision 1466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-17 08:29:37 +00:00
François Revol 1cef952731 Fix for odd strf tag in Stargate SG-1 - 3x18 - Shades of Grey.avi
Originally committed as revision 1350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 21:05:59 +00:00
François Revol 8ff323888c redid usleep() fix for BeOS, more consistant with the MINGW32 one. removed a TAB :P
Originally committed as revision 1349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 21:04:08 +00:00
François Revol 40d05a6bce That should be enough for now :)
Originally committed as revision 1348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 21:02:28 +00:00
François Revol 9ca7cfc5c4 Hey, not everyone has usleep() ! (temporary fix, we should check for this in configure)
Originally committed as revision 1343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-20 00:25:24 +00:00
François Revol 0ea8f2be4e Avoid "unused variable 'c'" warning.
Originally committed as revision 1282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-26 08:58:24 +00:00
François Revol 3c97fdb8bb Bump up the priority on the decoding thread.
Originally committed as revision 1201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-12 02:20:02 +00:00
François RevolandMichael Niedermayer 3810fbf561 ringbuffer patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-08 20:54:44 +00:00
François RevolandMichael Niedermayer 9eb826478c MIN/MAX sys/param.h patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 00:56:08 +00:00
François RevolandMichael Niedermayer dfdfa47cd1 BeOS Audio ouput patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-05 00:38:06 +00:00
François RevolandMichael Niedermayer 31ba0b4d7f gcc optimization on BeOS (patch by François Revol <revol at free dot fr>)
Originally committed as revision 1151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 21:05:54 +00:00
François RevolandMichael Niedermayer 26b35efb3a added BeOS net_server support (R5 network stack), basically the same
problems as with winsock (sockets != fd), and the broken select().
based on older patch by Andrew Bachmann.
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:47:44 +00:00
François RevolandMichael Niedermayer 3f95e8434b added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
contribution by Laszlo Torok <torokl@alpha.dfmk.hu>
4CC 'MAC3' and 'MAC6' in Quicktime.
It works for mono streams, needs to be fixed for stereo when I get my hands on a stereo sample :)
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:39:22 +00:00
François RevolandMichael Niedermayer 9ddd71fc60 added BeOS net_server support (R5 network stack), basically the same
problems as with winsock (sockets != fd), and the broken select().
based on older patch by Andrew Bachmann.
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:35:07 +00:00
François RevolandMichael Niedermayer bbd8335b69 added perm inheritance from ffmpeg_g (it looks like 'strip' in BeOS doesn't keep them, though the Linux one does !?)
patch by (François Revol <revol at free dot fr>)

Originally committed as revision 1143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-02 10:31:37 +00:00
François RevolandMichael Niedermayer 3ffe379394 patch by François Revol <revol at free dot fr>
- fix for multiple frames per chunk
- better probing
- better header parsing
- fixed some 4CCs
- use av_new_stream() (but still dealocates some of them with av_free())

Originally committed as revision 790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-23 22:05:35 +00:00
François RevolandMichael Niedermayer 889c522492 adpcm encoding patch by François Revol <revol at free dot fr>
Originally committed as revision 785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-22 01:44:08 +00:00
François RevolandMichael Niedermayer 27a5e8b897 nanosleep patch by François Revol <revol at free dot fr>
Originally committed as revision 784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 07:59:17 +00:00
François RevolandMichael Niedermayer 6742d95d59 YUV410P to YUV420P patch by François Revol <revol at free dot fr>
Originally committed as revision 783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-21 07:54:53 +00:00
François RevolandMichael Niedermayer 0147f19856 beos/mov/adpcm patch by François Revol <revol at free dot fr>
* Some BeOS fixes:
- errno stuff
- nanosleep() replacement
- added a doc/README.beos

* mov reader still has problems with most videos (skips many chunks),
- It should now read .mov files with zlib-compressed moov headers (aka cmov)
- added SVQ1 support.
- removed mapping 'raw ' and 'yuv2' to h263, was my mistake.
- added IMA4 support. (tested)
- fixed frame rate (it reported 0 fps or something before)
- extended file probing ('wide' and 'free' atoms)
- improved .mov/.mp4 detection (or so I think)

* adpcm
* added zlib support, with header file and lib check

Originally committed as revision 780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-07-20 20:05:50 +00:00
François RevolandZdenek Kabelac ef0bc4c97f * BeOS patch by François Revol <revol@free.fr>
fixing some compilation problems

Originally committed as revision 319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-03-08 09:09:57 +00:00