Commit Graph

11755 Commits

Author SHA1 Message Date
Diego Biurrun
541432c3b7 spelling
Originally committed as revision 11078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-23 00:47:39 +00:00
Luca Abeni
c721d803cb Introduce libavdevice
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 16:10:02 +00:00
Luca Barbato
489b0d4d98 Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse (missing hunk from r11072)

Originally committed as revision 11076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 14:13:23 +00:00
Diego Biurrun
594ff7cc6c comment spelling/grammar fixes
Originally committed as revision 25137 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-11-22 10:27:58 +00:00
Ramiro Polla
a5e979f42c os_support.h is also needed for usleep and lseek on MinGW.
Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-22 02:27:39 +00:00
Christophe Gisquet
82821c913b add VC-1 MMX DSP functions, under MIT license.
patch by Christophe GISQUET %christophe P gisquet A free P fr%
original thread:
date: Jul 7, 2007 12:52 PM
subject: [FFmpeg-devel] [PATCH] VC-1 MMX DSP functions

Originally committed as revision 11074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 22:41:31 +00:00
Luca Abeni
087b327287 Include os_support.h only when needed
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 16:33:06 +00:00
Luca Barbato
a960a1e041 Make av_read_frame with rtsp client return EINTR on interrupt
patch from elupusateccedotse

Originally committed as revision 11072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 10:26:11 +00:00
Björn Axelsson
899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007

Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21 07:41:00 +00:00
Stefano Sabatini
79815f622d Fix wrong error message.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 11070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 13:42:43 +00:00
Diego Biurrun
e5af4a113b main() --> main(void)
Originally committed as revision 11069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 11:18:52 +00:00
Diego Biurrun
db817cf35a whitespace consistency cosmetics
Originally committed as revision 11068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-20 11:18:24 +00:00
Michael Niedermayer
e59d932826 cosmetic (x==NULL -> !x)
Originally committed as revision 11067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:33:25 +00:00
Michael Niedermayer
5b2052b38f cosmetic (place { consistently)
Originally committed as revision 11066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:30:00 +00:00
Roberto Togni
2b013568f9 Replace realloc with free+malloc, the previous content of the buffer is
not needed

Originally committed as revision 11065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:28:11 +00:00
Michael Niedermayer
0dd954b1f0 cosmetic (remove != 0 / != NULL)
Originally committed as revision 11064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:26:35 +00:00
Michael Niedermayer
e1c48b7aae use sizeof in snprintf (note the changed code is all under #if 0)
Originally committed as revision 11063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:18:30 +00:00
Michael Niedermayer
2867ed9b1c check region depth for validity
(32/64/128 would crash at least due to 1<<depth allocation later,
and no i do not have a sample file)

Originally committed as revision 11062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 20:14:46 +00:00
Luca Abeni
c5a2fe8f1f Generate a linking error if perror() is used in libav*
Originally committed as revision 11061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 10:40:11 +00:00
Luca Abeni
952062909d Convert perror() in av_log() in bktr.c.
Currently untested; someone with the correct OS and hardware should
test it and report if it works.

Originally committed as revision 11060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 10:33:05 +00:00
Luca Abeni
086119b3f3 Remove perror() usage from udp.c
Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 08:07:33 +00:00
Luca Abeni
9f74582cea Do not use perror() in audio, video, and DV grabbers
Originally committed as revision 11058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 07:54:04 +00:00
Luca Abeni
7f0cd6a529 Remove perror() usage from libavutil
Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 07:39:55 +00:00
Roberto Togni
e35033e6e3 Cosmetics
Originally committed as revision 11056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 00:02:58 +00:00
Roberto Togni
69434d2f73 No need to update pos, it's not used after that line
Originally committed as revision 11055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-19 00:02:03 +00:00
Roberto Togni
6887cb8bc5 Cleanup: remove ssize
Originally committed as revision 11054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:58:40 +00:00
Roberto Togni
52537534d2 Check for memory allocation failure of temp buffer
Originally committed as revision 11053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:49:41 +00:00
Roberto Togni
e11d0145e2 Optimize memory management to create an av_packet from multiple slices:
- remove memmove to pack the data, instead copy only the used areas
from the temp buffer in their final position
- use the minimum possible size for the av_packet (relevant when some
slices are missing)

Originally committed as revision 11052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 22:40:02 +00:00
Benjamin Larsson
289987e454 Use memcpy instead of for loop
Originally committed as revision 11051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-18 10:54:38 +00:00
Jeff Downs
28af284cfb When new streams are detected, look for old filters and close them out.
This avoids crashes seen when legitimate streams are found on PID 0x11 instead
of DVB SDT.
Fixes regression detailed in Roundup issue 138.

Originally committed as revision 11050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-17 03:14:43 +00:00
Jeff Downs
e240f898ff Call mpegvideo flush routine on h264 flush. Needed in particular
to clear last_picture_ptr, next_picture_ptr for proper picture
management. Prevents crashes in error concealer following seeks.
Fixes Roundup issue 189.

Originally committed as revision 11049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-17 03:04:21 +00:00
Diego Biurrun
eb72cacb21 Remove unused functions, fixes the warnings:
snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

Originally committed as revision 11048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 23:15:39 +00:00
Luca Abeni
db628029c4 Add MPEG2 support to the RTP muxer
Originally committed as revision 11047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 13:13:53 +00:00
Luca Abeni
7ed19d7fbf Remove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSP
code (this is needed for supporting MPEG2 video in the RTP muxer)

Originally committed as revision 11046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 07:59:41 +00:00
Alex Beregszaszi
b5298028b0 Remove empty pipe_close
Originally committed as revision 11045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:18:48 +00:00
Alex Beregszaszi
7a813b368a Call prot->url_close only if it is present.
Originally committed as revision 11044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:14:48 +00:00
Alex Beregszaszi
018b6fb465 Honor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in FLV specification v9.
Originally committed as revision 11043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-16 00:09:34 +00:00
Alex Beregszaszi
964ff35445 Prefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.
Originally committed as revision 11042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 23:53:19 +00:00
Aurelien Jacobs
87246a01cf avoid some halfpel related #ifdef
Originally committed as revision 11041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 22:32:39 +00:00
Roberto Togni
27a2f87da8 1000l: Fix check for max slice number
Originally committed as revision 11040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 21:13:36 +00:00
Roberto Togni
e29378ff88 Move dnet-ac3 byte-swapping code close to audio packet read code
Fixed version of patch in
[FFmpeg-devel] [PATCH 5/6] rmdec.c: move around rm_ac3_swap_bytes()

Originally committed as revision 11039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 21:04:06 +00:00
Luca Abeni
aa519c4771 Remove some more duplicated code
Originally committed as revision 11038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 14:26:52 +00:00
Luca Abeni
d4936869ff Remove the useless variable "my_addr1"
Originally committed as revision 11037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 13:41:51 +00:00
Luca Abeni
882d00f27d Use the same code to set local_port in the IPv4-only case and in the
protocol-independet case

Originally committed as revision 11036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 13:34:56 +00:00
Diego Biurrun
a0c013de34 Put halfpel_interpol under the same #ifdef as its usage, fixes the warning:
snow.c:4142: warning: #halfpel_interpol# defined but not used

Originally committed as revision 11035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 12:40:40 +00:00
Diego Biurrun
3b8554662b Reorder functions to get rid of ugly forward declarations.
Originally committed as revision 11034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 12:31:58 +00:00
Panagiotis Issaris
8ea0e80241 Fix Doxygen parameter
Originally committed as revision 11033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:45:07 +00:00
Panagiotis Issaris
e8b7c70f09 Fix Doxygen parameter name
Originally committed as revision 11032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:44:15 +00:00
Panagiotis Issaris
abfe87d471 Fix Doxygen parameter name
Originally committed as revision 11031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 11:43:21 +00:00
Panagiotis Issaris
9bd51b9aab Attribute for specifying direction should come right after @param.
Originally committed as revision 11030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-15 10:28:12 +00:00