]> git.sesse.net Git - ffmpeg/log
ffmpeg
15 years agoSupport broken avc nal encapsulation.
Michael Niedermayer [Thu, 16 Apr 2009 04:46:44 +0000 (04:46 +0000)]
Support broken avc nal encapsulation.
Fixes issue987.

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

15 years agoflacenc: write initial blocksize to STREAMINFO header instead of current
Justin Ruggles [Thu, 16 Apr 2009 02:28:49 +0000 (02:28 +0000)]
flacenc: write initial blocksize to STREAMINFO header instead of current
blocksize.

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

15 years agoReplace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglist
Ronald S. Bultje [Thu, 16 Apr 2009 00:41:31 +0000 (00:41 +0000)]
Replace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglist
thread "[PATCH] RTSP-MS 15/15: move packet_time_start zero value
assignment in asf.c".

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

15 years agoClarify which exact variant of ISO 639 is used. (The ISO spec explicitly
Michael Niedermayer [Wed, 15 Apr 2009 20:18:02 +0000 (20:18 +0000)]
Clarify which exact variant of ISO 639 is used. (The ISO spec explicitly
requires this to be clear)

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

15 years ago[COSMETIC] Correct a minor nit. Should be clearer now.
Reynaldo H. Verdejo Pinochet [Wed, 15 Apr 2009 19:37:35 +0000 (19:37 +0000)]
[COSMETIC] Correct a minor nit. Should be clearer now.

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

15 years agoFix possibly harmful outbound addressing. Patch by Kenan Gillet.
Kenan Gillet [Wed, 15 Apr 2009 19:28:28 +0000 (19:28 +0000)]
Fix possibly harmful outbound addressing. Patch by Kenan Gillet.

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

15 years agoavg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
David Conrad [Wed, 15 Apr 2009 19:10:16 +0000 (19:10 +0000)]
avg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
pixels, not (dst+pix)>>1.
This makes the mmx functions bitexact with the C functions.

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

15 years agoCheck for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
Martin Storsjö [Wed, 15 Apr 2009 17:29:20 +0000 (17:29 +0000)]
Check for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
trying to enable libamrnb support. The latter function is actually used.
patch by Martin Storsjö, martin martin st

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

15 years agoSend dummy requests over the TCP connection (WMS wants GET_PARAMETER,
Ronald S. Bultje [Wed, 15 Apr 2009 13:04:34 +0000 (13:04 +0000)]
Send dummy requests over the TCP connection (WMS wants GET_PARAMETER,
Real wants OPTIONS) while the connection is idle, otherwise it will
be aborted after a short period (usually a minute). See the thread
"[PATCH] rtsp.c: keep-alive" on the mailinglist.

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

15 years agoExplain the sort order for changelog entries.
Diego Biurrun [Wed, 15 Apr 2009 11:51:02 +0000 (11:51 +0000)]
Explain the sort order for changelog entries.

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

15 years agoEnsure that there's pages to read for duration calculation in the ogg demuxer
David Conrad [Wed, 15 Apr 2009 06:41:08 +0000 (06:41 +0000)]
Ensure that there's pages to read for duration calculation in the ogg demuxer

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

15 years agoAltivec version of avg_no_rnd_vc1_chroma_mc8
David Conrad [Wed, 15 Apr 2009 06:23:40 +0000 (06:23 +0000)]
Altivec version of avg_no_rnd_vc1_chroma_mc8

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

15 years agoSplit VC1 loop filter into separate functions for h/v and size
David Conrad [Wed, 15 Apr 2009 06:22:17 +0000 (06:22 +0000)]
Split VC1 loop filter into separate functions for h/v and size

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

15 years agoMove VC1 loop filter to DSPContext
David Conrad [Wed, 15 Apr 2009 06:20:22 +0000 (06:20 +0000)]
Move VC1 loop filter to DSPContext

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

15 years agoVC1: extend MMX qpel MC to include MMX2 avg qpel
David Conrad [Wed, 15 Apr 2009 02:25:42 +0000 (02:25 +0000)]
VC1: extend MMX qpel MC to include MMX2 avg qpel

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

15 years agoVC1: add and use avg_no_rnd chroma MC functions
David Conrad [Tue, 14 Apr 2009 23:56:10 +0000 (23:56 +0000)]
VC1: add and use avg_no_rnd chroma MC functions

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

15 years agoRename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
David Conrad [Tue, 14 Apr 2009 23:55:39 +0000 (23:55 +0000)]
Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only

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

15 years agoCosmetics: Split long line.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:33:46 +0000 (22:33 +0000)]
Cosmetics: Split long line.

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

15 years agoFix two icc warnings #188: enumerated type mixed with another type.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:30:11 +0000 (22:30 +0000)]
Fix two icc warnings #188: enumerated type mixed with another type.

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

15 years agoFix icc warning #188: enumerated type mixed with another type.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:21:53 +0000 (22:21 +0000)]
Fix icc warning #188: enumerated type mixed with another type.

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

15 years agoFix icc warning #188: enumerated type mixed with another type.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:19:43 +0000 (22:19 +0000)]
Fix icc warning #188: enumerated type mixed with another type.

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

15 years agoFor every line, copy 3*width bytes instead of linesize[0] to avoid
Vitor Sessak [Tue, 14 Apr 2009 21:03:41 +0000 (21:03 +0000)]
For every line, copy 3*width bytes instead of linesize[0] to avoid
problems with padding.

Fix issue 959

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

15 years agoVC1: Do qpel when needed for both MVs in a B frame
David Conrad [Tue, 14 Apr 2009 19:26:33 +0000 (19:26 +0000)]
VC1: Do qpel when needed for both MVs in a B frame

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

15 years agomingw32: FFmpeg now passes -fno-common automatically.
Ramiro Polla [Tue, 14 Apr 2009 15:25:11 +0000 (15:25 +0000)]
mingw32: FFmpeg now passes -fno-common automatically.

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

15 years agoAdd a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC
Ronald S. Bultje [Tue, 14 Apr 2009 15:01:46 +0000 (15:01 +0000)]
Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC
qualification task, see "RTP/Vorbis payload implementation (GSoC qual
task)" thread on mailinglist.

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

15 years agowhitespace cosmetics: Break some overly long lines.
Diego Biurrun [Tue, 14 Apr 2009 14:39:04 +0000 (14:39 +0000)]
whitespace cosmetics: Break some overly long lines.

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

15 years agoDo not use abgrToA for both luma and alpha channel in hyscale.
Cédric Schieli [Tue, 14 Apr 2009 14:11:57 +0000 (14:11 +0000)]
Do not use abgrToA for both luma and alpha channel in hyscale.
This fixes RGB32 (et al.) scaling.

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

15 years agoIncrease the SDP buffer size (again!) and also increase the temporary
Ronald S. Bultje [Tue, 14 Apr 2009 13:22:40 +0000 (13:22 +0000)]
Increase the SDP buffer size (again!) and also increase the temporary
buffer size of the fmtp parameter buffer. For Vorbis RT(S)P, these
contain full Vorbis headers, which can be up to 12kb each, formatted
in base64, so 16kb total. Patch required for proper Vorbis/RTP playback,
submitted as GSoC qualification task in the thread "RTP/Vorbis payload
implementation (GSoC qual task)" by Colin McQuillan m.niloc googlemail
com.

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

15 years agoAlso copy pixel_aspect when copying the picref in avfilter_start_frame.
Cédric Schieli [Tue, 14 Apr 2009 08:48:47 +0000 (08:48 +0000)]
Also copy pixel_aspect when copying the picref in avfilter_start_frame.
This avoids a division by zero in '[in]fifo,scale[out]'

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

15 years agoMark src constant in copy_block*().
Alex Converse [Tue, 14 Apr 2009 04:07:35 +0000 (04:07 +0000)]
Mark src constant in copy_block*().

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

15 years agoSupport audio sample formats than S16 when encoding a small last frame.
Justin Ruggles [Tue, 14 Apr 2009 03:48:26 +0000 (03:48 +0000)]
Support audio sample formats than S16 when encoding a small last frame.

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

15 years agoset pkt duration for last smaller frame, should fix alac in m4a muxing
Baptiste Coudurier [Tue, 14 Apr 2009 00:20:52 +0000 (00:20 +0000)]
set pkt duration for last smaller frame, should fix alac in m4a muxing

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

15 years agofix indentation
Baptiste Coudurier [Tue, 14 Apr 2009 00:12:54 +0000 (00:12 +0000)]
fix indentation

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

15 years agoavoid strcmp NULL, fix segv on mingw
Baptiste Coudurier [Tue, 14 Apr 2009 00:12:29 +0000 (00:12 +0000)]
avoid strcmp NULL, fix segv on mingw

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

15 years agowin32, dos: Work around a bug in the GNU toolchain.
Ramiro Polla [Mon, 13 Apr 2009 22:54:21 +0000 (22:54 +0000)]
win32, dos: Work around a bug in the GNU toolchain.
The bug[1] is exposed when gcc decides to put some data in a common
section (i.e. data that will be used by more than one object). It will
suggest the data to be aligned, but binutils >= 2.19 will fail to
properly align it. Thus if the data requires any alignment greater
than 4, the application will crash.
The workaround prevents gcc from putting data in a common section,
instead putting it in a properly aligned section.

[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216

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

15 years agofix indentation
Baptiste Coudurier [Mon, 13 Apr 2009 21:22:19 +0000 (21:22 +0000)]
fix indentation

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

15 years agoFix skip_put_bits() buf_ptr increment.
Stefano Sabatini [Mon, 13 Apr 2009 20:44:42 +0000 (20:44 +0000)]
Fix skip_put_bits() buf_ptr increment.

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

15 years agoSkip loop iterations which are no-ops due to data1[-lag..-1] being zero.
Bobby Bingham [Mon, 13 Apr 2009 18:07:02 +0000 (18:07 +0000)]
Skip loop iterations which are no-ops due to data1[-lag..-1] being zero.

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

15 years agoRename pbBufPtr() to put_bits_ptr().
Stefano Sabatini [Mon, 13 Apr 2009 16:59:38 +0000 (16:59 +0000)]
Rename pbBufPtr() to put_bits_ptr().
The new name is more readable and consistent with the FFmpeg naming
style.

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

15 years agoDo not use full include path for get_bits.h, since the header is in
Stefano Sabatini [Mon, 13 Apr 2009 16:47:17 +0000 (16:47 +0000)]
Do not use full include path for get_bits.h, since the header is in
the same directory.
Consistent with r16260.

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

15 years agoflacenc : do not #include libavutil/lls.h since lpc code is now
Jai Menon [Mon, 13 Apr 2009 16:23:54 +0000 (16:23 +0000)]
flacenc : do not #include libavutil/lls.h since lpc code is now
separate.

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

15 years agoRename bitstream.h to get_bits.h.
Stefano Sabatini [Mon, 13 Apr 2009 16:20:26 +0000 (16:20 +0000)]
Rename bitstream.h to get_bits.h.

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

15 years agoalacenc : cosmetics : remove misleading comment
Jai Menon [Mon, 13 Apr 2009 15:11:40 +0000 (15:11 +0000)]
alacenc : cosmetics : remove misleading comment

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

15 years agoseek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOC...
Baptiste Coudurier [Mon, 13 Apr 2009 04:02:51 +0000 (04:02 +0000)]
seek inside buffer when offset is exactly at the end, fix seeking with memory ByteIOContext

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

15 years agomove audio buffers declarations and free them in av_exit
Baptiste Coudurier [Mon, 13 Apr 2009 03:55:26 +0000 (03:55 +0000)]
move audio buffers declarations and free them in av_exit

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

15 years agomove freeing code before exiting because of signal
Baptiste Coudurier [Mon, 13 Apr 2009 03:47:12 +0000 (03:47 +0000)]
move freeing code before exiting because of signal

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

15 years agofree options contexts in av_exit, valgrind should be happy now
Baptiste Coudurier [Mon, 13 Apr 2009 03:43:29 +0000 (03:43 +0000)]
free options contexts in av_exit, valgrind should be happy now

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

15 years agoSet frame defaults in try_decode_frame.
Baptiste Coudurier [Mon, 13 Apr 2009 03:38:55 +0000 (03:38 +0000)]
Set frame defaults in try_decode_frame.
Fix:
==22211== Conditional jump or move depends on uninitialised value(s)
==22211==    at 0x811E692: ff_print_debug_info (mpegvideo.c:1137)
==22211==    by 0x82E6A7B: decode_frame (h264.c:7897)
==22211==    by 0x80F2823: avcodec_decode_video2 (utils.c:564)
[...]
==22211==  Uninitialised value was created by a stack allocation
==22211==    at 0x8064AA3: try_decode_frame (utils.c:1845)

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

15 years agofix indentation
Baptiste Coudurier [Mon, 13 Apr 2009 03:35:32 +0000 (03:35 +0000)]
fix indentation

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

15 years agofix indentation and remove whitespace after return
Baptiste Coudurier [Mon, 13 Apr 2009 03:33:39 +0000 (03:33 +0000)]
fix indentation and remove whitespace after return

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

15 years agoreindent
Baptiste Coudurier [Mon, 13 Apr 2009 03:32:02 +0000 (03:32 +0000)]
reindent

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

15 years agoInit state to -1 in h264 parser.
Baptiste Coudurier [Mon, 13 Apr 2009 03:29:19 +0000 (03:29 +0000)]
Init state to -1 in h264 parser.
Fix:
==22063== Conditional jump or move depends on uninitialised value(s)
==22063==    at 0x811A4B7: ff_find_start_code (mpegvideo.c:99)
==22063==    by 0x82F5B74: parse_nal_units (h264_parser.c:132)
==22063==    by 0x82F5A68: h264_parse (h264_parser.c:261)
[...]
==22063==  Uninitialised value was created by a stack allocation
==22063==    at 0x82F5AF5: parse_nal_units (h264_parser.c:112)

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

15 years agoMove addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.
Diego Biurrun [Sun, 12 Apr 2009 22:49:58 +0000 (22:49 +0000)]
Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.

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

15 years agoMove addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.
Diego Biurrun [Sun, 12 Apr 2009 22:48:44 +0000 (22:48 +0000)]
Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.

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

15 years agowhitespace cosmetics: Reindent a few lines and break a few excessively long lines.
Diego Biurrun [Sun, 12 Apr 2009 22:43:03 +0000 (22:43 +0000)]
whitespace cosmetics: Reindent a few lines and break a few excessively long lines.

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

15 years agoFix wrong size computation for buffer. Patch is part of
Reynaldo H. Verdejo Pinochet [Sun, 12 Apr 2009 21:48:43 +0000 (21:48 +0000)]
Fix wrong size computation for buffer. Patch is part of
netgem's changeset.

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

15 years agoRemove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
Diego Biurrun [Sun, 12 Apr 2009 21:45:26 +0000 (21:45 +0000)]
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.

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

15 years agoRemove AltiVec optimizations for Snow. They are hindering the development
Diego Biurrun [Sun, 12 Apr 2009 21:42:55 +0000 (21:42 +0000)]
Remove AltiVec optimizations for Snow. They are hindering the development
of Snow, which is still in flux.

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

15 years agoFix 2 access units in a packet mp4s.
Michael Niedermayer [Sun, 12 Apr 2009 20:43:52 +0000 (20:43 +0000)]
Fix 2 access units in a packet mp4s.
Fixes issue944 and possibly others.

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

15 years agoGet rid of the non sensical idea of using the current picture for missing
Michael Niedermayer [Sun, 12 Apr 2009 20:40:18 +0000 (20:40 +0000)]
Get rid of the non sensical idea of using the current picture for missing
reference pictures.

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

15 years agoFactorize field_end() out.
Michael Niedermayer [Sun, 12 Apr 2009 20:21:23 +0000 (20:21 +0000)]
Factorize field_end() out.

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

15 years agoAssert that the first list1 entry is a reference frame.
Michael Niedermayer [Sun, 12 Apr 2009 13:58:03 +0000 (13:58 +0000)]
Assert that the first list1 entry is a reference frame.

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

15 years agoAdd a av_fast_malloc function and replace several uses of av_fast_realloc,
Reimar Döffinger [Sun, 12 Apr 2009 13:17:37 +0000 (13:17 +0000)]
Add a av_fast_malloc function and replace several uses of av_fast_realloc,
thus avoiding potential memleaks and pointless memcpys.

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

15 years agoUse void * instead of uint8_t * for the destination buffer for dsp.bswap_buf
Reimar Döffinger [Sun, 12 Apr 2009 12:25:53 +0000 (12:25 +0000)]
Use void * instead of uint8_t * for the destination buffer for dsp.bswap_buf
where easily possible (mimic, eatqi, 4xm).
This allows to avoid a typecast.

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

15 years agoav_destruct_packet_nofree deprecation explained in APIchanges
Reimar Döffinger [Sun, 12 Apr 2009 12:03:12 +0000 (12:03 +0000)]
av_destruct_packet_nofree deprecation explained in APIchanges

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

15 years agoUse AVERROR(ENOMEM) instead of AVERROR_NOMEM / -1 in eatqi and mimic decoders
Reimar Döffinger [Sun, 12 Apr 2009 09:33:38 +0000 (09:33 +0000)]
Use AVERROR(ENOMEM) instead of AVERROR_NOMEM / -1 in eatqi and mimic decoders

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

15 years agoDocument pbBufPtr().
Stefano Sabatini [Sun, 12 Apr 2009 09:06:17 +0000 (09:06 +0000)]
Document pbBufPtr().

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

15 years agoremove useless wrapper
Baptiste Coudurier [Sun, 12 Apr 2009 09:04:12 +0000 (09:04 +0000)]
remove useless wrapper

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

15 years agoMove ea demuxer messages that are irrelevant to ordinary users from
Reimar Döffinger [Sun, 12 Apr 2009 08:53:22 +0000 (08:53 +0000)]
Move ea demuxer messages that are irrelevant to ordinary users from
AV_LOG_INFO to AV_LOG_DEBUG.

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

15 years agoremove useless wrapper
Baptiste Coudurier [Sun, 12 Apr 2009 08:52:16 +0000 (08:52 +0000)]
remove useless wrapper

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

15 years agoSlightly improve/correct description of wc3_pal_lookup
Reimar Döffinger [Sun, 12 Apr 2009 08:49:20 +0000 (08:49 +0000)]
Slightly improve/correct description of wc3_pal_lookup

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

15 years agoSplit bitstream.h, put the bitstream writer stuff in the new file
Stefano Sabatini [Sun, 12 Apr 2009 08:35:26 +0000 (08:35 +0000)]
Split bitstream.h, put the bitstream writer stuff in the new file
put_bits.h.

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

15 years agoDisable metadata reading. Yes, I would like to know what this code is good for
Michael Niedermayer [Sun, 12 Apr 2009 04:01:03 +0000 (04:01 +0000)]
Disable metadata reading. Yes, I would like to know what this code is good for
and this is the easiest way to. It would be a lot of messy code we can drop
if it is useless.
As a sideeffect this fixes issue977.

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

15 years agoAdd names for 5.0 and 5.1 back speaker channel layouts.
Justin Ruggles [Sun, 12 Apr 2009 03:26:20 +0000 (03:26 +0000)]
Add names for 5.0 and 5.1 back speaker channel layouts.

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

15 years agoreplace DEBUG_SI with DEBUG and use dprintf
Baptiste Coudurier [Sun, 12 Apr 2009 03:08:46 +0000 (03:08 +0000)]
replace DEBUG_SI with DEBUG and use dprintf

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

15 years agoSet stream type to ac3 if registration descriptor is present.
Baptiste Coudurier [Sun, 12 Apr 2009 02:39:16 +0000 (02:39 +0000)]
Set stream type to ac3 if registration descriptor is present.
Based on patch by Nico Sabi, nicola dot sabbi at poste dot it

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

15 years agosimplify registration descriptor parsing with bytestream get functions
Baptiste Coudurier [Sun, 12 Apr 2009 02:32:02 +0000 (02:32 +0000)]
simplify registration descriptor parsing with bytestream get functions

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

15 years agoOk, ts demuxer is more complicated than I thought
Björn Axelsson [Sun, 12 Apr 2009 02:19:40 +0000 (02:19 +0000)]
Ok, ts demuxer is more complicated than I thought
Revert r18454 and fix correctly #700
Stop parsing if end of buffer is reached while reading
patch by Björn Axelsson, bjorn dot axelsson at intinor dot se

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

15 years agofix end of buffer check, fix hang_read_header.h264.ts
Baptiste Coudurier [Sun, 12 Apr 2009 01:37:34 +0000 (01:37 +0000)]
fix end of buffer check, fix hang_read_header.h264.ts

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

15 years agofix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples
Baptiste Coudurier [Sun, 12 Apr 2009 00:25:37 +0000 (00:25 +0000)]
fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples

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

15 years agoSimplify packet duplication code in ff_interleave_add_packet.
Reimar Döffinger [Sat, 11 Apr 2009 22:38:00 +0000 (22:38 +0000)]
Simplify packet duplication code in ff_interleave_add_packet.
Behaviour only changes if pkt->destuct neither av_destruct_packet,
av_destruct_packet_nofree nor NULL, in which case the new code avoids a double free.

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

15 years agoFix initialization of avpkt in output_packet().
Thilo Borgmann [Sat, 11 Apr 2009 22:04:52 +0000 (22:04 +0000)]
Fix initialization of avpkt in output_packet().

Patch by Thilo Borgmann thilo.surname AT googlemaildotcom.

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

15 years agoFix "unrecognized WC3 chunk" debug output which was broken r18444 due to sign expansion.
Reimar Döffinger [Sat, 11 Apr 2009 21:45:57 +0000 (21:45 +0000)]
Fix "unrecognized WC3 chunk" debug output which was broken r18444 due to sign expansion.

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

15 years agoFix documentation for avcodec_encode_audio(), in the case of PCM audio
John Fletcher [Sat, 11 Apr 2009 21:14:29 +0000 (21:14 +0000)]
Fix documentation for avcodec_encode_audio(), in the case of PCM audio
the output buffer size may be less than FF_MIN_BUFFER_SIZE.

Patch by John Fletcher john.surname AT rd . bbc . co . uk.

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

15 years agoDocument the 'size' parameter of set_put_bits_buffer_size().
Stefano Sabatini [Sat, 11 Apr 2009 21:04:26 +0000 (21:04 +0000)]
Document the 'size' parameter of set_put_bits_buffer_size().

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

15 years agoDocument ff_put_string().
Stefano Sabatini [Sat, 11 Apr 2009 21:01:30 +0000 (21:01 +0000)]
Document ff_put_string().

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

15 years agowc3movie: return partial packets if not all data can be read.
Reimar Döffinger [Sat, 11 Apr 2009 20:48:56 +0000 (20:48 +0000)]
wc3movie: return partial packets if not all data can be read.
This is consistent with other demuxer's behaviour and avoids a memleak.
It also returns the error from av_get_packet instead of always AVERROR(EIO).

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

15 years agoExplain the purpose of the wc3_pal_lookup and the formula that was used to
Reimar Döffinger [Sat, 11 Apr 2009 20:08:16 +0000 (20:08 +0000)]
Explain the purpose of the wc3_pal_lookup and the formula that was used to
calculate it.

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

15 years agoUse get_le32/get_be32 in wc3movie demuxer instead of reading everything into
Reimar Döffinger [Sat, 11 Apr 2009 18:58:55 +0000 (18:58 +0000)]
Use get_le32/get_be32 in wc3movie demuxer instead of reading everything into
a buffer first.

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

15 years agoReplace deprecated FF_MM_MMXEXT flag with FF_MM_MMX2.
Stefano Sabatini [Sat, 11 Apr 2009 18:12:23 +0000 (18:12 +0000)]
Replace deprecated FF_MM_MMXEXT flag with FF_MM_MMX2.

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

15 years agoRename the 'put_zero' parameter of ff_put_string() to
Stefano Sabatini [Sat, 11 Apr 2009 15:54:21 +0000 (15:54 +0000)]
Rename the 'put_zero' parameter of ff_put_string() to
'terminate_string'.

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

15 years agoAdd documentation for skip_put_bytes().
Stefano Sabatini [Sat, 11 Apr 2009 14:49:46 +0000 (14:49 +0000)]
Add documentation for skip_put_bytes().

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

15 years agoDoxygenate ff_copy_bits().
Stefano Sabatini [Sat, 11 Apr 2009 14:47:35 +0000 (14:47 +0000)]
Doxygenate ff_copy_bits().

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

15 years agoFactorize declaration for the two variants of put_bits().
Stefano Sabatini [Sat, 11 Apr 2009 14:19:09 +0000 (14:19 +0000)]
Factorize declaration for the two variants of put_bits().

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

15 years agoTwo INIT_VLC_USE_STATIC cases Carl missed.
Michael Niedermayer [Sat, 11 Apr 2009 14:16:30 +0000 (14:16 +0000)]
Two INIT_VLC_USE_STATIC cases Carl missed.

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

15 years agoget rid of INIT_VLC_USE_STATIC in h261.
Michael Niedermayer [Sat, 11 Apr 2009 13:58:18 +0000 (13:58 +0000)]
get rid of INIT_VLC_USE_STATIC in h261.

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

15 years agoGet rid of INIT_VLC_USE_STATIC in rv10/rv20.
Michael Niedermayer [Sat, 11 Apr 2009 13:53:34 +0000 (13:53 +0000)]
Get rid of INIT_VLC_USE_STATIC in rv10/rv20.

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

15 years agoGet rid of INIT_VLC_USE_STATIC in 4xm.
Michael Niedermayer [Sat, 11 Apr 2009 13:43:09 +0000 (13:43 +0000)]
Get rid of INIT_VLC_USE_STATIC in 4xm.

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

15 years agoGet rid of INIT_VLC_USE_STATIC in asv1.
Michael Niedermayer [Sat, 11 Apr 2009 13:40:39 +0000 (13:40 +0000)]
Get rid of INIT_VLC_USE_STATIC in asv1.

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

15 years agoGet rid of INIT_VLC_USE_STATIC in msmpeg4
Michael Niedermayer [Sat, 11 Apr 2009 13:29:05 +0000 (13:29 +0000)]
Get rid of INIT_VLC_USE_STATIC in msmpeg4

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