Baptiste Coudurier
8fa0ae060b
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
16 years ago
Diego Biurrun
cc3a248603
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
16 years ago
Diego Biurrun
c5662879ff
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
16 years ago
Diego Biurrun
457eed7204
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
16 years ago
Reynaldo H. Verdejo Pinochet
8bf7a510b9
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
16 years ago
Diego Biurrun
5137235e0c
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
...
Originally committed as revision 18476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
788cca4135
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
16 years ago
Michael Niedermayer
d225a1e248
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
16 years ago
Michael Niedermayer
ead793358a
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
16 years ago
Michael Niedermayer
256299d302
Factorize field_end() out.
...
Originally committed as revision 18472 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7824b129a0
Assert that the first list1 entry is a reference frame.
...
Originally committed as revision 18471 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
238ef6dadd
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
16 years ago
Reimar Döffinger
9bf993a5b5
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
16 years ago
Reimar Döffinger
0c13bbf509
av_destruct_packet_nofree deprecation explained in APIchanges
...
Originally committed as revision 18468 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
55775b099d
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
16 years ago
Stefano Sabatini
53bd67ec89
Document pbBufPtr().
...
Originally committed as revision 18466 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
c950c25ac0
remove useless wrapper
...
Originally committed as revision 18465 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
c96495e75c
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
16 years ago
Baptiste Coudurier
7b9677f6b0
remove useless wrapper
...
Originally committed as revision 18463 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
f28c4e756f
Slightly improve/correct description of wc3_pal_lookup
...
Originally committed as revision 18462 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b275500706
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
16 years ago
Michael Niedermayer
77daaf6748
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
16 years ago
Justin Ruggles
f79e331f34
Add names for 5.0 and 5.1 back speaker channel layouts.
...
Originally committed as revision 18459 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
ebcf352a25
replace DEBUG_SI with DEBUG and use dprintf
...
Originally committed as revision 18458 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
495b37664d
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
16 years ago
Baptiste Coudurier
4f1db48e88
simplify registration descriptor parsing with bytestream get functions
...
Originally committed as revision 18456 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Björn Axelsson
a4d2af9b96
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
16 years ago
Baptiste Coudurier
2b97246ec2
fix end of buffer check, fix hang_read_header.h264.ts
...
Originally committed as revision 18454 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a3d23e15fb
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
16 years ago
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