Reimar Döffinger
591de5cf35
Fix misplaced const, avoids a cast-discards-qualifiers warning
...
Originally committed as revision 12146 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d937cd0ed2
const
...
Originally committed as revision 12145 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
83a9db42a3
Fix timestamps and durations if the first packets have no durations nor timestamps,
...
and the information needed to guess the duration only becomes known at a later packet.
Originally committed as revision 11963 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e942293db1
It appears last_pts was not set ...
...
Originally committed as revision 11939 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a712d725c0
Header elision muxing support.
...
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss
because all video frames were >4096 byte, so that it is disabled ATM.
Originally committed as revision 11936 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3b4f69ae8c
Elision header demuxing support.
...
Originally committed as revision 11935 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7eeebcc5de
Read match time delta in the frame header.
...
We do not do anything with it as lavf does not really support it yet.
Originally committed as revision 11931 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6cb4b28fea
Read match_time_delta in the framecode table.
...
Originally committed as revision 11930 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
42abeeae3f
update flags
...
Originally committed as revision 11929 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
501f162fde
honor stsd v1 first, fix mace surge-2-8-MAC3.mov, beware of mulaw,alaw
...
Originally committed as revision 11928 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
6a1f4535f8
10l, forgot alaw/mulaw mono, use bits_per_sample in fact,
...
it should correctly set by av_get_bits_per_sample if recognized
Originally committed as revision 11925 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
f8cda19ee6
Include poll.h instead of sys/poll.h
...
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d435e520d8
warn use if edit list is not starting at 0, a/v desync might occur
...
Originally committed as revision 11923 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
fffa99ddd0
remove now useless code
...
Originally committed as revision 11922 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
531527652f
remove messy and not always correct chunk size workaround, use correct values instead
...
Originally committed as revision 11921 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5e53486545
typo fix: inited --> initialized
...
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
300aa2b039
return error when dv audio extraction fails
...
Originally committed as revision 11913 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
e6920f2445
remove obsolete comments
...
Originally committed as revision 11912 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
3a3aa49ab7
remove useless braces
...
Originally committed as revision 11911 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
311490cccd
cosmetics, indentation, braces
...
Originally committed as revision 11910 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
8cb66fd8f2
split chunks in the case of big compressed audio frames,
...
might be tweaked, fix qt_dv_pal_test.mov.
Originally committed as revision 11909 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
77c7543702
use correct demux mechanism when audio compression id is -2, dv audio does not matter, demux partially qt_dv_pal_test.mov which does NOT use cid -2
...
Originally committed as revision 11908 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d0cbff868e
fcp imx 40 fourccs
...
Originally committed as revision 11906 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
56ea717b46
indentation
...
Originally committed as revision 11905 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
4f0e712ecb
more correct and simpler
...
Originally committed as revision 11904 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
D Richard Felker III
03c09e4399
Do not use GNU-specific (or BSD-specific or whatever they may be)
...
constants which are completely unneeded anyway. Note that 3 is a cheap
integer bound for log10(1<<CHAR_BIT).
Originally committed as revision 11902 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
91208916c6
cosmetics, remove whitespaces before and after parenthesis
...
Originally committed as revision 11879 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
cb4ddf7765
Add support for speex in ogg
...
Originally committed as revision 11878 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
744a9c75cf
Allow the user to select which codec out of several in stsd he wants.
...
Originally committed as revision 11873 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
37b74c8651
Fix issue 338:
...
Correctly interleave ogg packets per granule
and set eos correctly, 2 packets buffering is needed.
It duplicates interleave_per_dts a bit,
if someone has a good solution, I'll implement it.
Originally committed as revision 11867 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
2dd3c9e0fa
it seems ogg requires granule to be -1 on unfinished packets
...
Originally committed as revision 11866 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
c901197693
String pointers of ogg_codec_t should have const attribute.
...
Originally committed as revision 11860 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Christophe Lorenz
23ef05756e
Add dv50 tag to support samples with dv50 fourcc in AVI.
...
patch by christophelorenz christophelorenz gmail com
Originally committed as revision 11859 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
cd41a73f89
Fix a possible use of an uninitialized pointer.
...
Originally committed as revision 11857 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
4ddcc983b4
back_ptr calculation used wrong timebase when searching for back syncpoint
...
Originally committed as revision 11856 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
02c986a8d6
Fix intented algo in syncpoint writing before keyframes in NUT muxer
...
Originally committed as revision 11855 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
82badd27f1
nut->max_distance was not set at all anywhere in the NUT muxer
...
Originally committed as revision 11854 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
eae213af43
Remove old workaround in nutdec.c for libnut bug
...
Originally committed as revision 11853 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
b19e3983cf
missing " && j<syncpoint_count" protection in the index parsing, as the
...
spec instructs...
Originally committed as revision 11852 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Oded Shimon
103d74ea5c
ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
...
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params
Originally committed as revision 11851 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f70eccdb39
2 more missing consts found by -Wwrite-strings.
...
Originally committed as revision 11849 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
37e4979a2c
Remove incorrect cast found by -Wwrite-strings.
...
Originally committed as revision 11848 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8df94c73dc
Another const found by -Wwrite-strings.
...
Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8dd8dc5790
fix 8 "initialization discards qualifiers from pointer target type"
...
warnings
Originally committed as revision 11845 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0fca8bc835
Fix info packet type, found by oded as well as the new pedantic const
...
warnings.
Originally committed as revision 11843 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7ebab67901
-Wwrite-strings nitpicking fix
...
Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4cf97abb98
Missing const found by -Wwrite-strings.
...
Originally committed as revision 11841 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
7abe438045
Remove ff_mms_set_stream_selection again from asf demuxer,
...
it does not seem like a good solution to the problem and will
cause dependency problems if a libavprotocols should be split out.
Originally committed as revision 11827 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dc29622385
Remove incorrect casts that should have never been there.
...
Originally committed as revision 11824 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
2907abed17
Remove a pointless cast.
...
Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago