ffmpeg.git
13 years agoMake ff_qt_default_palette_* arrays "static const"
Reimar Döffinger [Sun, 2 Dec 2007 23:27:01 +0000 (23:27 +0000)]
Make ff_qt_default_palette_* arrays "static const"

Originally committed as revision 11139 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoSome spelling fixes in comments
Reimar Döffinger [Sun, 2 Dec 2007 22:04:21 +0000 (22:04 +0000)]
Some spelling fixes in comments

Originally committed as revision 11138 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake ff_mkv_codec_tags array const, it is never written.
Reimar Döffinger [Sun, 2 Dec 2007 21:52:43 +0000 (21:52 +0000)]
Make ff_mkv_codec_tags array const, it is never written.

Originally committed as revision 11137 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoUse the correct "const float *" type for variable instead of casting const away.
Reimar Döffinger [Sun, 2 Dec 2007 21:12:43 +0000 (21:12 +0000)]
Use the correct "const float *" type for variable instead of casting const away.

Originally committed as revision 11136 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd missing const to last argument of decode_significance_8x8_x86.
Reimar Döffinger [Sun, 2 Dec 2007 21:11:43 +0000 (21:11 +0000)]
Add missing const to last argument of decode_significance_8x8_x86.
Fixes "h264.c:5470: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type"

Originally committed as revision 11135 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoindentation
Baptiste Coudurier [Sun, 2 Dec 2007 19:28:20 +0000 (19:28 +0000)]
indentation

Originally committed as revision 11134 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agodnxhd 720p encoding and decoding support
Baptiste Coudurier [Sun, 2 Dec 2007 19:27:19 +0000 (19:27 +0000)]
dnxhd 720p encoding and decoding support

Originally committed as revision 11133 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetics, encode_variance -> encode_fast
Baptiste Coudurier [Sun, 2 Dec 2007 19:22:38 +0000 (19:22 +0000)]
cosmetics, encode_variance -> encode_fast

Originally committed as revision 11132 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agofix corner case when qscale 1 bits < frame bits but max bits with worst padding ...
Baptiste Coudurier [Sun, 2 Dec 2007 19:20:46 +0000 (19:20 +0000)]
fix corner case when qscale 1 bits < frame bits but max bits with worst padding > frame bits

Originally committed as revision 11131 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRealVideo 3 decoder functions
Kostya Shishkov [Sun, 2 Dec 2007 18:44:29 +0000 (18:44 +0000)]
RealVideo 3 decoder functions

Originally committed as revision 11130 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix muxer so that generated files are playable by realplayer, other open
Kostya Shishkov [Sun, 2 Dec 2007 17:51:05 +0000 (17:51 +0000)]
Fix muxer so that generated files are playable by realplayer, other open
source players and by fixed ffmpeg rm demuxer (after r11127)
Patch by kostya

Originally committed as revision 11129 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix regression tests after r11127 and 11129
Kostya Shishkov [Sun, 2 Dec 2007 17:46:27 +0000 (17:46 +0000)]
Fix regression tests after r11127 and 11129
Patch by kostya

Originally committed as revision 11128 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRevert r10892, it's wrong and no longer needed to prevent crashes
Roberto Togni [Sun, 2 Dec 2007 17:41:12 +0000 (17:41 +0000)]
Revert r10892, it's wrong and no longer needed to prevent crashes

Originally committed as revision 11127 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMisc spelling fixes, prefer American over British English.
Diego Biurrun [Sun, 2 Dec 2007 15:43:08 +0000 (15:43 +0000)]
Misc spelling fixes, prefer American over British English.

Originally committed as revision 11126 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix some spelling typos
Diego Biurrun [Sun, 2 Dec 2007 14:07:01 +0000 (14:07 +0000)]
Fix some spelling typos

Originally committed as revision 25245 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoFix some spelling mistakes.
Diego Biurrun [Sun, 2 Dec 2007 14:06:28 +0000 (14:06 +0000)]
Fix some spelling mistakes.

Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRV30/40 common VLC tables
Kostya Shishkov [Sun, 2 Dec 2007 06:24:34 +0000 (06:24 +0000)]
RV30/40 common VLC tables

Originally committed as revision 11124 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix alignment broke by my last patch
Vitor Sessak [Sat, 1 Dec 2007 22:35:38 +0000 (22:35 +0000)]
Fix alignment broke by my last patch

Originally committed as revision 11123 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agospelling
Vitor Sessak [Sat, 1 Dec 2007 22:21:04 +0000 (22:21 +0000)]
spelling

Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoTIFF may omit compression tag.
Kostya Shishkov [Sat, 1 Dec 2007 15:41:35 +0000 (15:41 +0000)]
TIFF may omit compression tag.

This fixes issue 276.

Originally committed as revision 11121 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosucces --> success typo
Diego Biurrun [Sat, 1 Dec 2007 12:05:59 +0000 (12:05 +0000)]
succes --> success typo

Originally committed as revision 11120 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix nodes[nb_codes*2-1].count being uninitialized and used to initialize
Reimar Döffinger [Sat, 1 Dec 2007 09:39:59 +0000 (09:39 +0000)]
Fix nodes[nb_codes*2-1].count being uninitialized and used to initialize
nodes[nb_codes*2-2].count (thus making that invalid as well) in
ff_huff_build_tree.
Might fix some (hard to reproduce) crashes in VP6 decoder.

Originally committed as revision 11119 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosenseless cast and ()
Michael Niedermayer [Sat, 1 Dec 2007 00:21:43 +0000 (00:21 +0000)]
senseless cast and ()

Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agostupid code (casting of void*) found by checktree.sh
Michael Niedermayer [Sat, 1 Dec 2007 00:19:44 +0000 (00:19 +0000)]
stupid code (casting of void*) found by checktree.sh

Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years ago1000l _reserved (found by checktree.sh)
Michael Niedermayer [Sat, 1 Dec 2007 00:07:51 +0000 (00:07 +0000)]
1000l _reserved  (found by checktree.sh)

Originally committed as revision 11116 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agowma_decode_superframe always returns s->block_align, so make
Reimar Döffinger [Fri, 30 Nov 2007 21:51:34 +0000 (21:51 +0000)]
wma_decode_superframe always returns s->block_align, so make
sure we actually consume exactly that amount.
Fixes sound artefacts (mostly blips) that mysteriously disappeared
after e.g. remuxing with mencoder.

Originally committed as revision 11115 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix make checkheaders, #include <inttypes.h> was missing.
Diego Biurrun [Fri, 30 Nov 2007 14:08:00 +0000 (14:08 +0000)]
Fix make checkheaders, #include <inttypes.h> was missing.

Originally committed as revision 11114 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoComment some #endif directives.
Diego Biurrun [Fri, 30 Nov 2007 13:21:20 +0000 (13:21 +0000)]
Comment some #endif directives.

Originally committed as revision 25211 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agofix segfault with interlaced h.264
Michael Niedermayer [Thu, 29 Nov 2007 15:09:24 +0000 (15:09 +0000)]
fix segfault with interlaced h.264

Originally committed as revision 11113 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoSuppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
Luca Abeni [Thu, 29 Nov 2007 08:35:05 +0000 (08:35 +0000)]
Suppress the "redirector hack" from libavformat/utils.c:av_open_input_stream(),
and implement the redirector format more properly.

Originally committed as revision 11112 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoBump lavf minor due to addition of
Andreas Öman [Wed, 28 Nov 2007 19:51:59 +0000 (19:51 +0000)]
Bump lavf minor due to addition of
av_url_read_fplay(), av_url_read_fpause() and av_url_read_fseek()

Originally committed as revision 11111 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoExtend ByteIOContext and add the buffered IO functions:
Björn Axelsson [Wed, 28 Nov 2007 19:46:49 +0000 (19:46 +0000)]
Extend ByteIOContext and add the buffered IO functions:
av_url_read_fplay(), av_url_read_fpause() and av_url_read_fseek().

patch by: Björn Axelsson, bjorn d axelsson a intinor d se

Originally committed as revision 11110 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMLP/TrueHD parser
Ian Caulfield [Wed, 28 Nov 2007 14:27:53 +0000 (14:27 +0000)]
MLP/TrueHD parser
Patch by Ian Caulfield, ian D caulfield <at> gmail D com
Thread: [PATCH] MLP/TrueHD decoder, 12 Oct 14:26

Originally committed as revision 11109 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoClarify documentation for avcodec_encode_audio.
Stefano Sabatini [Wed, 28 Nov 2007 12:41:35 +0000 (12:41 +0000)]
Clarify documentation for avcodec_encode_audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 11108 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoframe_size vs. frame_size*channels bug
Michael Niedermayer [Wed, 28 Nov 2007 00:59:19 +0000 (00:59 +0000)]
frame_size vs. frame_size*channels bug

Originally committed as revision 11107 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoremove some unused ff_p* vars from dsputil
Aurelien Jacobs [Tue, 27 Nov 2007 22:57:26 +0000 (22:57 +0000)]
remove some unused ff_p* vars from dsputil

Originally committed as revision 11106 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoremove useless #ifdef around extern declaration
Aurelien Jacobs [Tue, 27 Nov 2007 22:56:15 +0000 (22:56 +0000)]
remove useless #ifdef around extern declaration

Originally committed as revision 11105 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetics: indentation
Aurelien Jacobs [Tue, 27 Nov 2007 22:54:46 +0000 (22:54 +0000)]
cosmetics: indentation

Originally committed as revision 11104 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoconvert some #ifdef CONFIG_ to if(ENABLE_
Aurelien Jacobs [Tue, 27 Nov 2007 22:54:18 +0000 (22:54 +0000)]
convert some #ifdef CONFIG_ to if(ENABLE_

Originally committed as revision 11103 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agobuild vc1dsp_mmx.c in its own compilation unit
Aurelien Jacobs [Tue, 27 Nov 2007 22:42:55 +0000 (22:42 +0000)]
build vc1dsp_mmx.c in its own compilation unit

Originally committed as revision 11102 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agouse ff_ prefix for extern vars
Aurelien Jacobs [Tue, 27 Nov 2007 22:36:15 +0000 (22:36 +0000)]
use ff_ prefix for extern vars

Originally committed as revision 11101 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agomake ff_p* vars extern so that they can be used in various *_mmx.c files
Aurelien Jacobs [Tue, 27 Nov 2007 22:23:34 +0000 (22:23 +0000)]
make ff_p* vars extern so that they can be used in various *_mmx.c files

Originally committed as revision 11100 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years ago10l: init_get_bits want size in bits, not bytes
Aurelien Jacobs [Tue, 27 Nov 2007 22:00:45 +0000 (22:00 +0000)]
10l: init_get_bits want size in bits, not bytes

Originally committed as revision 11099 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetics: alignment
Aurelien Jacobs [Tue, 27 Nov 2007 21:30:10 +0000 (21:30 +0000)]
cosmetics: alignment

Originally committed as revision 11098 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agospelling cosmetics
Diego Biurrun [Tue, 27 Nov 2007 15:38:54 +0000 (15:38 +0000)]
spelling cosmetics

Originally committed as revision 11097 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd #include "os_support.h" to restore OS/2 support.
Dave Yeo [Tue, 27 Nov 2007 11:42:09 +0000 (11:42 +0000)]
Add #include "os_support.h" to restore OS/2 support.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 11096 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove possibly misleading comments.
Diego Biurrun [Tue, 27 Nov 2007 11:27:50 +0000 (11:27 +0000)]
Remove possibly misleading comments.

Originally committed as revision 11095 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosync message with modern ffmpeg bitrate option syntax.
D Richard Felker III [Tue, 27 Nov 2007 05:32:04 +0000 (05:32 +0000)]
sync message with modern ffmpeg bitrate option syntax.
note: this message should probably be tweaked; i'm not sure that it's
a good idea for lavc to be recommending ffmpeg command line options
as it's a general-purpose library.

Originally committed as revision 11094 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoremove some empty close/init functions in avcodec
Aurelien Jacobs [Sun, 25 Nov 2007 17:31:55 +0000 (17:31 +0000)]
remove some empty close/init functions in avcodec
patch by Alex

Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoadd pcm_s16le_planar support for electronicarts files
Aurelien Jacobs [Sun, 25 Nov 2007 16:32:47 +0000 (16:32 +0000)]
add pcm_s16le_planar support for electronicarts files

Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agosplit wmv2 encoder and decoder in their own files
Aurelien Jacobs [Sun, 25 Nov 2007 16:23:42 +0000 (16:23 +0000)]
split wmv2 encoder and decoder in their own files

Originally committed as revision 11091 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoTypo fix. Previous version had some picture error building up until next keyframe.
Christophe Gisquet [Sun, 25 Nov 2007 09:43:35 +0000 (09:43 +0000)]
Typo fix. Previous version had some picture error building up until next keyframe.
Now MMX version decodes 1:1 what the C version does
patch by Christophe GISQUET %christophe P gisquet A free P fr%

Originally committed as revision 11090 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoData tables for future RV30/40 decoder
Kostya Shishkov [Sat, 24 Nov 2007 17:42:16 +0000 (17:42 +0000)]
Data tables for future RV30/40 decoder

Originally committed as revision 11089 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoStrip debug stuff from vc1dsp_mmx.c, patch by Christophe GISQUET %hristophe P gisquet...
Christophe Gisquet [Sat, 24 Nov 2007 14:34:25 +0000 (14:34 +0000)]
Strip debug stuff from vc1dsp_mmx.c, patch by Christophe GISQUET %hristophe P gisquet A free P fr%
Original thread:
date: Nov 24, 2007 3:09 PM
subject: [FFmpeg-devel] [PATCH] Strip debug stuff from vc1dsp_mmx.c

Originally committed as revision 11088 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoAdd missing #includes to fix 'make checkheaders'.
Diego Biurrun [Sat, 24 Nov 2007 10:08:02 +0000 (10:08 +0000)]
Add missing #includes to fix 'make checkheaders'.

Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoExtend URLProtocol with new function pointers and api functions for
Björn Axelsson [Sat, 24 Nov 2007 07:09:32 +0000 (07:09 +0000)]
Extend URLProtocol with new function pointers and api functions for
av_url_read_play(), av_url_read_pause() and av_url_read_seek().

patch by: Björn Axelsson, bjorn d axelsson a intinor d se

Originally committed as revision 11086 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoLink libavdevice against libavutil, libavcodec, and libavformat
Luca Abeni [Fri, 23 Nov 2007 12:55:50 +0000 (12:55 +0000)]
Link libavdevice against libavutil, libavcodec, and libavformat
(fix compilation for non-ELF targets).

Originally committed as revision 11085 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix out of tree builds after introduction of libavdevice.
Diego Biurrun [Fri, 23 Nov 2007 12:02:41 +0000 (12:02 +0000)]
Fix out of tree builds after introduction of libavdevice.

Originally committed as revision 11084 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoKeep -L flags before corresponding -l flags.
Diego Biurrun [Fri, 23 Nov 2007 11:41:01 +0000 (11:41 +0000)]
Keep -L flags before corresponding -l flags.

Originally committed as revision 11083 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetics: Consistently indent with 4 spaces, break some long lists into single
Diego Biurrun [Fri, 23 Nov 2007 11:09:28 +0000 (11:09 +0000)]
cosmetics: Consistently indent with 4 spaces, break some long lists into single
lines, align some columns.

Originally committed as revision 11081 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoFix the creation of alldevices.c (create it without any rename).
Luca Abeni [Fri, 23 Nov 2007 08:07:23 +0000 (08:07 +0000)]
Fix the creation of alldevices.c (create it without any rename).
This also requires some changes to configure

Originally committed as revision 11080 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agomain() --> main(void)
Diego Biurrun [Fri, 23 Nov 2007 00:52:56 +0000 (00:52 +0000)]
main() --> main(void)

Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agospelling
Diego Biurrun [Fri, 23 Nov 2007 00:47:39 +0000 (00:47 +0000)]
spelling

Originally committed as revision 11078 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoIntroduce libavdevice
Luca Abeni [Thu, 22 Nov 2007 16:10:02 +0000 (16:10 +0000)]
Introduce libavdevice

Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake av_read_frame with rtsp client return EINTR on interrupt
Luca Barbato [Thu, 22 Nov 2007 14:13:23 +0000 (14:13 +0000)]
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

13 years agocomment spelling/grammar fixes
Diego Biurrun [Thu, 22 Nov 2007 10:27:58 +0000 (10:27 +0000)]
comment spelling/grammar fixes

Originally committed as revision 25137 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

13 years agoos_support.h is also needed for usleep and lseek on MinGW.
Ramiro Polla [Thu, 22 Nov 2007 02:27:39 +0000 (02:27 +0000)]
os_support.h is also needed for usleep and lseek on MinGW.

Originally committed as revision 11075 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoadd VC-1 MMX DSP functions, under MIT license.
Christophe Gisquet [Wed, 21 Nov 2007 22:41:31 +0000 (22:41 +0000)]
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

13 years agoInclude os_support.h only when needed
Luca Abeni [Wed, 21 Nov 2007 16:33:06 +0000 (16:33 +0000)]
Include os_support.h only when needed

Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoMake av_read_frame with rtsp client return EINTR on interrupt
Luca Barbato [Wed, 21 Nov 2007 10:26:11 +0000 (10:26 +0000)]
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

13 years agoUse dynamically allocated ByteIOContext in AVFormatContext
Björn Axelsson [Wed, 21 Nov 2007 07:41:00 +0000 (07:41 +0000)]
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

13 years agoFix wrong error message.
Stefano Sabatini [Tue, 20 Nov 2007 13:42:43 +0000 (13:42 +0000)]
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

13 years agomain() --> main(void)
Diego Biurrun [Tue, 20 Nov 2007 11:18:52 +0000 (11:18 +0000)]
main() --> main(void)

Originally committed as revision 11069 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agowhitespace consistency cosmetics
Diego Biurrun [Tue, 20 Nov 2007 11:18:24 +0000 (11:18 +0000)]
whitespace consistency cosmetics

Originally committed as revision 11068 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetic (x==NULL -> !x)
Michael Niedermayer [Mon, 19 Nov 2007 20:33:25 +0000 (20:33 +0000)]
cosmetic (x==NULL -> !x)

Originally committed as revision 11067 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agocosmetic (place { consistently)
Michael Niedermayer [Mon, 19 Nov 2007 20:30:00 +0000 (20:30 +0000)]
cosmetic (place { consistently)

Originally committed as revision 11066 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoReplace realloc with free+malloc, the previous content of the buffer is
Roberto Togni [Mon, 19 Nov 2007 20:28:11 +0000 (20:28 +0000)]
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

13 years agocosmetic (remove != 0 / != NULL)
Michael Niedermayer [Mon, 19 Nov 2007 20:26:35 +0000 (20:26 +0000)]
cosmetic (remove != 0 / != NULL)

Originally committed as revision 11064 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agouse sizeof in snprintf (note the changed code is all under #if 0)
Michael Niedermayer [Mon, 19 Nov 2007 20:18:30 +0000 (20:18 +0000)]
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

13 years agocheck region depth for validity
Michael Niedermayer [Mon, 19 Nov 2007 20:14:46 +0000 (20:14 +0000)]
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

13 years agoGenerate a linking error if perror() is used in libav*
Luca Abeni [Mon, 19 Nov 2007 10:40:11 +0000 (10:40 +0000)]
Generate a linking error if perror() is used in libav*

Originally committed as revision 11061 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoConvert perror() in av_log() in bktr.c.
Luca Abeni [Mon, 19 Nov 2007 10:33:05 +0000 (10:33 +0000)]
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

13 years agoRemove perror() usage from udp.c
Luca Abeni [Mon, 19 Nov 2007 08:07:33 +0000 (08:07 +0000)]
Remove perror() usage from udp.c

Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoDo not use perror() in audio, video, and DV grabbers
Luca Abeni [Mon, 19 Nov 2007 07:54:04 +0000 (07:54 +0000)]
Do not use perror() in audio, video, and DV grabbers

Originally committed as revision 11058 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove perror() usage from libavutil
Luca Abeni [Mon, 19 Nov 2007 07:39:55 +0000 (07:39 +0000)]
Remove perror() usage from libavutil

Originally committed as revision 11057 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCosmetics
Roberto Togni [Mon, 19 Nov 2007 00:02:58 +0000 (00:02 +0000)]
Cosmetics

Originally committed as revision 11056 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoNo need to update pos, it's not used after that line
Roberto Togni [Mon, 19 Nov 2007 00:02:03 +0000 (00:02 +0000)]
No need to update pos, it's not used after that line

Originally committed as revision 11055 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCleanup: remove ssize
Roberto Togni [Sun, 18 Nov 2007 22:58:40 +0000 (22:58 +0000)]
Cleanup: remove ssize

Originally committed as revision 11054 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCheck for memory allocation failure of temp buffer
Roberto Togni [Sun, 18 Nov 2007 22:49:41 +0000 (22:49 +0000)]
Check for memory allocation failure of temp buffer

Originally committed as revision 11053 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoOptimize memory management to create an av_packet from multiple slices:
Roberto Togni [Sun, 18 Nov 2007 22:40:02 +0000 (22:40 +0000)]
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

13 years agoUse memcpy instead of for loop
Benjamin Larsson [Sun, 18 Nov 2007 10:54:38 +0000 (10:54 +0000)]
Use memcpy instead of for loop

Originally committed as revision 11051 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoWhen new streams are detected, look for old filters and close them out.
Jeff Downs [Sat, 17 Nov 2007 03:14:43 +0000 (03:14 +0000)]
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

13 years agoCall mpegvideo flush routine on h264 flush. Needed in particular
Jeff Downs [Sat, 17 Nov 2007 03:04:21 +0000 (03:04 +0000)]
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

13 years agoRemove unused functions, fixes the warnings:
Diego Biurrun [Fri, 16 Nov 2007 23:15:39 +0000 (23:15 +0000)]
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

13 years agoAdd MPEG2 support to the RTP muxer
Luca Abeni [Fri, 16 Nov 2007 13:13:53 +0000 (13:13 +0000)]
Add MPEG2 support to the RTP muxer

Originally committed as revision 11047 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoRemove the "AVRtpPayloadTypes[i].pt == i" assumption from RTP and RTSP
Luca Abeni [Fri, 16 Nov 2007 07:59:41 +0000 (07:59 +0000)]
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

13 years agoRemove empty pipe_close
Alex Beregszaszi [Fri, 16 Nov 2007 00:18:48 +0000 (00:18 +0000)]
Remove empty pipe_close

Originally committed as revision 11045 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoCall prot->url_close only if it is present.
Alex Beregszaszi [Fri, 16 Nov 2007 00:14:48 +0000 (00:14 +0000)]
Call prot->url_close only if it is present.

Originally committed as revision 11044 to svn://svn.ffmpeg.org/ffmpeg/trunk

13 years agoHonor the 8bit extension (now 32bit instaed 24bit) of the pts field introduced in...
Alex Beregszaszi [Fri, 16 Nov 2007 00:09:34 +0000 (00:09 +0000)]
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

13 years agoPrefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.
Alex Beregszaszi [Thu, 15 Nov 2007 23:53:19 +0000 (23:53 +0000)]
Prefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.

Originally committed as revision 11042 to svn://svn.ffmpeg.org/ffmpeg/trunk