]> git.sesse.net Git - ffmpeg/log
ffmpeg
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

15 years agoClarify documentation for put_bits_count().
Stefano Sabatini [Sat, 11 Apr 2009 13:04:33 +0000 (13:04 +0000)]
Clarify documentation for put_bits_count().

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

15 years agoGet rid of av_destruct_packet_nofree and use NULL instead.
Reimar Döffinger [Sat, 11 Apr 2009 12:42:29 +0000 (12:42 +0000)]
Get rid of av_destruct_packet_nofree and use NULL instead.
It is still used in comparisons to keep ABI compatibility.

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

15 years agoUse INIT_VLC_USE_STATIC and not its value "1".
Carl Eugen Hoyos [Sat, 11 Apr 2009 11:47:15 +0000 (11:47 +0000)]
Use INIT_VLC_USE_STATIC and not its value "1".

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

15 years agoReindent
Reimar Döffinger [Sat, 11 Apr 2009 10:41:06 +0000 (10:41 +0000)]
Reindent

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

15 years agoMake electronicarts demuxer return partial frames, this is the default
Reimar Döffinger [Sat, 11 Apr 2009 10:38:56 +0000 (10:38 +0000)]
Make electronicarts demuxer return partial frames, this is the default
behaviour of av_get_packet and should not be override without good reason.
As a side effect this fixes the memleak described in issue 956.
Also return the exact error code from av_get_packet instead of AVERROR(EIO).

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

15 years agoDocument align_put_bits().
Stefano Sabatini [Fri, 10 Apr 2009 22:29:56 +0000 (22:29 +0000)]
Document align_put_bits().

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

15 years agoDoxygenate flush_put_bits() documentation.
Stefano Sabatini [Fri, 10 Apr 2009 22:27:29 +0000 (22:27 +0000)]
Doxygenate flush_put_bits() documentation.

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

15 years agoDoxygenate put_bits_count() documentation.
Stefano Sabatini [Fri, 10 Apr 2009 22:14:45 +0000 (22:14 +0000)]
Doxygenate put_bits_count() documentation.

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

15 years agoFix comment: gcc 2.95.3 binaries decode ac3 fine if SSE is available and
Carl Eugen Hoyos [Fri, 10 Apr 2009 17:46:42 +0000 (17:46 +0000)]
Fix comment: gcc 2.95.3 binaries decode ac3 fine if SSE is available and
not disabled.

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

15 years agoDoxygenate init_put_bits().
Stefano Sabatini [Fri, 10 Apr 2009 17:30:42 +0000 (17:30 +0000)]
Doxygenate init_put_bits().

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

15 years agocosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
Diego Biurrun [Fri, 10 Apr 2009 17:23:38 +0000 (17:23 +0000)]
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).

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

15 years agoAdd support to CorePNG P-frames.
Thilo Borgmann [Fri, 10 Apr 2009 17:16:19 +0000 (17:16 +0000)]
Add support to CorePNG P-frames.

Patch by Thilo Borgmann thilo DOT borgmann A googlemail com.

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

15 years agoReplace rand() usage by av_lfg_get().
Diego Biurrun [Fri, 10 Apr 2009 17:12:36 +0000 (17:12 +0000)]
Replace rand() usage by av_lfg_get().

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

15 years agocosmetics: Align output columns.
Diego Biurrun [Fri, 10 Apr 2009 15:16:11 +0000 (15:16 +0000)]
cosmetics: Align output columns.

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

15 years agoLoop up to MAX_THREADS instead of h->s.avctx->thread_count to free the thread
Reimar Döffinger [Fri, 10 Apr 2009 14:30:04 +0000 (14:30 +0000)]
Loop up to MAX_THREADS instead of h->s.avctx->thread_count to free the thread
contexts, this avoids a crash when freeing the H.264 parser context introduced in
r18406, since h->s.avctx is NULL there.

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

15 years agoUse the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 12:53:22 +0000 (12:53 +0000)]
Use the new avcodec_decode_* API.

Patch by Thilo Borgmann th_lo.borgm_n_@goog_email.co_.

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

15 years agoremove useless duplication of what av_new_stream() already does
Aurelien Jacobs [Fri, 10 Apr 2009 12:49:53 +0000 (12:49 +0000)]
remove useless duplication of what av_new_stream() already does

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

15 years agoAdd 'PNG1' to PNG fourcc codes.
Thilo Borgmann [Fri, 10 Apr 2009 12:18:04 +0000 (12:18 +0000)]
Add 'PNG1' to PNG fourcc codes.

Patch by Thilo Borgmann thilo DOT borgmann _AT_ gXXglemail.cXm.

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

15 years agoUse the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 12:07:06 +0000 (12:07 +0000)]
Use the new avcodec_decode_* API.

Patch by Thilo Borgmann thilo.borgmann * googlemail ! com.

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

15 years agoRemove unused variables along with the related warnings.
Diego Biurrun [Fri, 10 Apr 2009 11:33:14 +0000 (11:33 +0000)]
Remove unused variables along with the related warnings.

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

15 years agoAdd forgotten void return type to ff_h264_free_context
Reimar Döffinger [Fri, 10 Apr 2009 11:31:55 +0000 (11:31 +0000)]
Add forgotten void return type to ff_h264_free_context

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

15 years agoFix sigill on non-MMX2 CPUs.
Diego Biurrun [Fri, 10 Apr 2009 11:29:51 +0000 (11:29 +0000)]
Fix sigill on non-MMX2 CPUs.

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

15 years agoUse the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 11:07:52 +0000 (11:07 +0000)]
Use the new avcodec_decode_* API.

Patch by Thilo Borgmann name.surname AT googlemail.com.

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

15 years agoMake try_decode_frame() use the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 11:03:06 +0000 (11:03 +0000)]
Make try_decode_frame() use the new avcodec_decode_* API.

Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.

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

15 years agoMake sure error resilience does not try to use unavailable reference frames.
Reimar Döffinger [Fri, 10 Apr 2009 07:17:30 +0000 (07:17 +0000)]
Make sure error resilience does not try to use unavailable reference frames.
Fixes the crash described in issue 706.

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

15 years agoAdd a ff_h264_free_context function and call it from the H.264 parser.
Reimar Döffinger [Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)]
Add a ff_h264_free_context function and call it from the H.264 parser.
This ensures that the parser will no longer leak memory for all SPS/PPS it encounters.

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

15 years agoMake sure mpeg2 has its height rounded up to 32 as that is needed
Michael Niedermayer [Fri, 10 Apr 2009 00:09:07 +0000 (00:09 +0000)]
Make sure mpeg2 has its height rounded up to 32 as that is needed
for interlaced stuff.
This might have been exploitable when emu edge was not set though
note this bug has been introduced just a few days ago.

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

15 years agoDo not use SSE2 SAD for snow as it requires more alignment than can be
Michael Niedermayer [Thu, 9 Apr 2009 21:53:48 +0000 (21:53 +0000)]
Do not use SSE2 SAD for snow as it requires more alignment than can be
easily provided.
Fixes issue315.

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

15 years agoFix documentation for the "-ps" option
Martin Storsjö [Thu, 9 Apr 2009 21:52:12 +0000 (21:52 +0000)]
Fix documentation for the "-ps" option
Patch by Martin Storsjö (martin AT martin DOT st)

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

15 years agoAAC packetiser cleanup: use consts instead of #defines
Luca Abeni [Thu, 9 Apr 2009 21:48:45 +0000 (21:48 +0000)]
AAC packetiser cleanup: use consts instead of #defines

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

15 years agoAAC packetiser cleanup: remove check for a condition that cannot happen
Luca Abeni [Thu, 9 Apr 2009 21:39:07 +0000 (21:39 +0000)]
AAC packetiser cleanup: remove check for a condition that cannot happen

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

15 years agoFix two checks in the AAC packetiser, which were too conservative
Martin Storsjö [Thu, 9 Apr 2009 21:37:11 +0000 (21:37 +0000)]
Fix two checks in the AAC packetiser, which were too conservative
Patch by Martin Storsjö (martin AT martin DOT st)

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

15 years agoMake sure the next used frame is released so get_buffer() wont fail.
Michael Niedermayer [Thu, 9 Apr 2009 21:19:25 +0000 (21:19 +0000)]
Make sure the next used frame is released so get_buffer() wont fail.

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

15 years agoMove release_buffer() up so it is prior to a future call to it.
Michael Niedermayer [Thu, 9 Apr 2009 21:17:53 +0000 (21:17 +0000)]
Move release_buffer() up so it is prior to a future call to it.

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

15 years agoFactorize release_buffer()
Michael Niedermayer [Thu, 9 Apr 2009 20:44:18 +0000 (20:44 +0000)]
Factorize release_buffer()

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

15 years agoMake sure spatial_decomposition_count is not too large for picture size.
Michael Niedermayer [Thu, 9 Apr 2009 20:23:13 +0000 (20:23 +0000)]
Make sure spatial_decomposition_count is not too large for picture size.
this led to an infinite loop in mirror().

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

15 years agoSkip non intra frames that have no reference frames.
Michael Niedermayer [Thu, 9 Apr 2009 20:13:35 +0000 (20:13 +0000)]
Skip non intra frames that have no reference frames.

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

15 years agoMake sure spatial_decomposition_count is >0.
Michael Niedermayer [Thu, 9 Apr 2009 19:45:10 +0000 (19:45 +0000)]
Make sure spatial_decomposition_count is >0.

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

15 years agoMake sure the block array is of the correct size.
Michael Niedermayer [Thu, 9 Apr 2009 18:47:50 +0000 (18:47 +0000)]
Make sure the block array is of the correct size.
This might have been exploitable.

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

15 years agoCheck spatial_decomposition_count too, fixes another crash.
Michael Niedermayer [Thu, 9 Apr 2009 18:37:26 +0000 (18:37 +0000)]
Check spatial_decomposition_count too, fixes another crash.

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

15 years ago10l, forgot to remove old code, which broke snow.
Michael Niedermayer [Thu, 9 Apr 2009 18:29:54 +0000 (18:29 +0000)]
10l, forgot to remove old code, which broke snow.

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

15 years agoFactorize check of read symbols.
Michael Niedermayer [Thu, 9 Apr 2009 18:21:51 +0000 (18:21 +0000)]
Factorize check of read symbols.

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

15 years agoFix spatial_decomposition_type validity check.
Michael Niedermayer [Thu, 9 Apr 2009 15:33:02 +0000 (15:33 +0000)]
Fix spatial_decomposition_type validity check.
Fixes infinite loop (did no investigate why exactly it got stuck).

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

15 years agoFix crash when max_ref_frames was out of range.
Michael Niedermayer [Thu, 9 Apr 2009 15:17:03 +0000 (15:17 +0000)]
Fix crash when max_ref_frames was out of range.
This might have been exploitable.
Fixes first crash of issue840.

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

15 years agoGive liblzo benchmark conditionals more descriptive names and add convenience
Diego Biurrun [Thu, 9 Apr 2009 15:11:48 +0000 (15:11 +0000)]
Give liblzo benchmark conditionals more descriptive names and add convenience
definitions along with instructions for changing them.

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

15 years agoAdd a configure check for lzo1x_999_compress() and compile the lzo test program
Diego Biurrun [Thu, 9 Apr 2009 14:55:05 +0000 (14:55 +0000)]
Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

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

15 years agoFix memleak in nuv demuxer: free packet already allocated packet when
Reimar Döffinger [Thu, 9 Apr 2009 14:16:22 +0000 (14:16 +0000)]
Fix memleak in nuv demuxer: free packet already allocated packet when
returning an error in nuv_packet.

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

15 years agoRemove unnecessary gcc_fixes.h #include.
Diego Biurrun [Thu, 9 Apr 2009 11:54:13 +0000 (11:54 +0000)]
Remove unnecessary gcc_fixes.h #include.

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

15 years agocosmetics: Reformat comment paragraph and fix a few typos in it.
Diego Biurrun [Thu, 9 Apr 2009 10:06:54 +0000 (10:06 +0000)]
cosmetics: Reformat comment paragraph and fix a few typos in it.

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

15 years agoFix -ss / -t interaction with -acodec copy.
Michael Niedermayer [Thu, 9 Apr 2009 00:13:59 +0000 (00:13 +0000)]
Fix -ss / -t interaction with -acodec copy.
Fixes issue203

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

15 years agoFix mb_height for interlaced mpeg2.
Michael Niedermayer [Wed, 8 Apr 2009 20:48:44 +0000 (20:48 +0000)]
Fix mb_height for interlaced mpeg2.
This correctly fixes issue961, thanks to steven warren for spotting my mistake.

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

15 years agoconfigure: Add --enable-runtime-cpudetect
Ramiro Polla [Wed, 8 Apr 2009 20:26:18 +0000 (20:26 +0000)]
configure: Add --enable-runtime-cpudetect

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

15 years agoRename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
Ramiro Polla [Wed, 8 Apr 2009 20:21:21 +0000 (20:21 +0000)]
Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.

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

15 years agoCorrectly set packet size for partial video packets in nuv demuxer.
Reimar Döffinger [Wed, 8 Apr 2009 20:20:42 +0000 (20:20 +0000)]
Correctly set packet size for partial video packets in nuv demuxer.

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

15 years agoAdd av_shrink_packet function for use in av_get_packet that reduces pkt->size
Reimar Döffinger [Wed, 8 Apr 2009 20:19:12 +0000 (20:19 +0000)]
Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
and ensures the following padding is correctly initialized to 0.

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

15 years agoReduce code duplication.
Zhentan Feng [Wed, 8 Apr 2009 16:01:10 +0000 (16:01 +0000)]
Reduce code duplication.

Patch by Zhentan Feng, spyfeng gmail

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