Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
b3eab9fb64
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
16 years ago
Baptiste Coudurier
1bd280f730
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
16 years ago
Baptiste Coudurier
e472ea34c4
reindent
...
Originally committed as revision 18480 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
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
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
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
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
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
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
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
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
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
Luca Abeni
ddffcb2d3a
AAC packetiser cleanup: remove check for a condition that cannot happen
...
Originally committed as revision 18401 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
d2ce53b786
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
16 years ago
Reimar Döffinger
ef12ec23fa
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
16 years ago
Reimar Döffinger
9470511185
Correctly set packet size for partial video packets in nuv demuxer.
...
Originally committed as revision 18379 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
feb993e579
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
16 years ago
Zhentan Feng
c81604f862
Reduce code duplication.
...
Patch by Zhentan Feng, spyfeng gmail
Originally committed as revision 18377 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
08e696c0b2
Add support for AMR audio in the RTP muxer
...
patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18375 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
17ad7b24c8
force sample for qcelp when not stored in mov, fix #968
...
Originally committed as revision 18374 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
4bce3ba480
Reindent after r18372.
...
Originally committed as revision 18373 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
6e9f56c127
Add waveformat-extensible support in the wav muxer.
...
Patch (GSoC qualfication task) by Zhentan Feng spyfeng gmail com, see
"[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC
qualification task)" thread on mailinglist.
Originally committed as revision 18372 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
3c8d144789
move codec tag tables near corresponding code
...
Originally committed as revision 18370 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
08680ab8c2
cosmetics, reindent
...
Originally committed as revision 18369 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0872acc45c
cosmetics, add empty line and remove useless braces
...
Originally committed as revision 18368 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
b6cb99469f
fix compilation, add missing parenthesis
...
Originally committed as revision 18367 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
130ba4b17a
comment the ipod subtitle check
...
Originally committed as revision 18366 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6452af7a33
invert condition to simplify code
...
Originally committed as revision 18365 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
cf9ce6a3d6
remove no more needed code, tag is set by default
...
Originally committed as revision 18364 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
2ab57c0443
cosmetics, reindent, add empty lines
...
Originally committed as revision 18363 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6b60028595
split mov_find_codec_tag in separate per format functions
...
Originally committed as revision 18362 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b0723c8a12
Always return 0 if read_packet is successful.
...
Originally committed as revision 18360 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago