Reimar Döffinger
d2e63e8b05
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
16 years ago
Thilo Borgmann
031e14ea79
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
16 years ago
Reimar Döffinger
7ce0420983
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
16 years ago
John Fletcher
dae2434928
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
16 years ago
Stefano Sabatini
4af615b81e
Document the 'size' parameter of set_put_bits_buffer_size().
...
Originally committed as revision 18448 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
930cab5944
Document ff_put_string().
...
Originally committed as revision 18447 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
cfb9b3550b
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
16 years ago
Reimar Döffinger
cdbe3798d2
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
16 years ago
Reimar Döffinger
f6a708f092
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
16 years ago
Stefano Sabatini
147a90a3e5
Replace deprecated FF_MM_MMXEXT flag with FF_MM_MMX2.
...
Originally committed as revision 18443 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
54b02ccda2
Rename the 'put_zero' parameter of ff_put_string() to
...
'terminate_string'.
Originally committed as revision 18442 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
980f54513e
Add documentation for skip_put_bytes().
...
Originally committed as revision 18441 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
093364da30
Doxygenate ff_copy_bits().
...
Originally committed as revision 18440 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
86755e82f7
Factorize declaration for the two variants of put_bits().
...
Originally committed as revision 18439 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1b923aa44a
Two INIT_VLC_USE_STATIC cases Carl missed.
...
Originally committed as revision 18438 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
78435e9971
get rid of INIT_VLC_USE_STATIC in h261.
...
Originally committed as revision 18437 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
76ac719888
Get rid of INIT_VLC_USE_STATIC in rv10/rv20.
...
Originally committed as revision 18436 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2a0241ae12
Get rid of INIT_VLC_USE_STATIC in 4xm.
...
Originally committed as revision 18435 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
5338bec697
Get rid of INIT_VLC_USE_STATIC in asv1.
...
Originally committed as revision 18434 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
5cf4331b04
Get rid of INIT_VLC_USE_STATIC in msmpeg4
...
Originally committed as revision 18433 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
0a73e94fd6
Clarify documentation for put_bits_count().
...
Originally committed as revision 18432 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
80d403fc19
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
16 years ago
Carl Eugen Hoyos
e161e007be
Use INIT_VLC_USE_STATIC and not its value "1".
...
Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
46e97dc3c2
Reindent
...
Originally committed as revision 18429 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
f772b7fa7d
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
16 years ago
Stefano Sabatini
facf521daa
Document align_put_bits().
...
Originally committed as revision 18427 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fc660a0143
Doxygenate flush_put_bits() documentation.
...
Originally committed as revision 18426 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
e46ddebd14
Doxygenate put_bits_count() documentation.
...
Originally committed as revision 18425 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
f77dddfcc3
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
16 years ago
Stefano Sabatini
f7a2aab7d8
Doxygenate init_put_bits().
...
Originally committed as revision 18423 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
64bde1974b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
...
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
ee30cdabad
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
16 years ago
Diego Biurrun
cc7b62afd2
Replace rand() usage by av_lfg_get().
...
Originally committed as revision 18420 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a2085cccfa
cosmetics: Align output columns.
...
Originally committed as revision 18419 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
6752dd5aee
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
16 years ago
Thilo Borgmann
ede0e47507
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
16 years ago
Aurelien Jacobs
ed54ae08b8
remove useless duplication of what av_new_stream() already does
...
Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
0dccbba02c
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
16 years ago
Thilo Borgmann
bea183757b
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
16 years ago
Diego Biurrun
222ab26c62
Remove unused variables along with the related warnings.
...
Originally committed as revision 18413 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
cbf1eae9a5
Add forgotten void return type to ff_h264_free_context
...
Originally committed as revision 18411 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e4732ba98b
Fix sigill on non-MMX2 CPUs.
...
Originally committed as revision 18410 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
4f313925ec
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
16 years ago
Thilo Borgmann
655d47c2cb
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
16 years ago
Reimar Döffinger
b6b6676085
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
16 years ago
Reimar Döffinger
15861962a7
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
16 years ago
Michael Niedermayer
c81185a183
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
16 years ago
Michael Niedermayer
cfe675269b
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
16 years ago
Martin Storsjö
2b12317a90
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
16 years ago
Luca Abeni
9331967007
AAC packetiser cleanup: use consts instead of #defines
...
Originally committed as revision 18402 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago