Baptiste Coudurier
92f76fbf23
simplify, use pointer to codec context in struct instead of only id
...
Originally committed as revision 13476 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5e5c908691
redundant check--
...
Originally committed as revision 13474 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c2a3dcaf25
Fix memleak, fixed CID123.
...
Originally committed as revision 13472 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
406a0fdcab
Do not use the pts/dts calculation code which needs a parser, when no parser
...
is available.
Originally committed as revision 13470 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ed03be6c49
use AVFifoBuffer
...
Originally committed as revision 13462 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
2aaf590b17
cosmetics
...
Originally committed as revision 13461 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
11dae3365a
merge init and declaration
...
Originally committed as revision 13460 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
4a712c3378
simplify and use version instead
...
Originally committed as revision 13459 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
6ef445fede
simplify
...
Originally committed as revision 13458 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
8d4f0e6749
simplify
...
Originally committed as revision 13457 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
9caf6781ed
cosmetics, remove useless cases and braces
...
Originally committed as revision 13456 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
1234da4caf
use av_fifo_generic_write, old func is deprecated
...
Originally committed as revision 13455 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
fbcb081161
remove const qualifier, removes warning:
...
libavformat/file.c:99: warning: passing argument 2 of 'strtol' from incompatible pointer type
Originally committed as revision 13454 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a077f3bc1a
typo
...
Originally committed as revision 13448 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f4433de9ef
consistency cosmetics: indices --> indexes
...
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
04fd3e8134
aac and h264 in flv demuxing
...
Originally committed as revision 13439 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
f23496b562
aac and h264 in flv muxing
...
Originally committed as revision 13438 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
391872e467
aac chan config is 0 if bitstream contains program_config_element
...
Originally committed as revision 13437 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2be83b96b6
Support non interleaved avi with phantom streams.
...
Originally committed as revision 13436 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
8999c833d1
replace printf by av_log
...
Originally committed as revision 13425 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a299832f52
use av_hex_dump_log
...
Originally committed as revision 13424 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ff978de47c
use dprintf
...
Originally committed as revision 13423 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
376aefddad
cosmetics, add demuxer word
...
Originally committed as revision 13422 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
58c37c30b4
cosmetics, remove useless dot
...
Originally committed as revision 13421 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
eea2f032ad
return error if frame_offset is negative, prevent segfault
...
Originally committed as revision 13420 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
e5ece1831a
return error if len is negative, prevent segfault
...
Originally committed as revision 13419 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
278f987a33
move ffserver specific functions up and only include unistd.h in this case
...
Originally committed as revision 13418 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a1e01307ad
move ffm_seek1 before get_pts function since func uses it
...
Originally committed as revision 13417 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
4adcbbbeef
move DEBUG_SEEK definition before get_pts since func uses it
...
Originally committed as revision 13416 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
979b1a0611
move get_pts function to avoid useless declaration
...
Originally committed as revision 13415 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ce2b665b3d
remove unneeded include
...
Originally committed as revision 13414 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
85a6b01da4
split ffm de/muxer
...
Originally committed as revision 13413 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
ba26712b5c
reenable test, data is available in this case
...
Originally committed as revision 13412 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
b2677aa2a1
parse audio in ogm demuxer.
...
fixes issue165.
Originally committed as revision 13407 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c8b9377d15
Make ac3 in avi work better.
...
fixes issue355.
Originally committed as revision 13406 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fa3b98182d
Ensure that one can store X bytes in a fifo of size X.
...
Fixed issue417.
Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0871ae1a93
Make av_fifo*_read() ignore the available amount of data.
...
This is more efficient as in practice the check is redundant most of the
time. Callers which do not know if enough data is available have to check
it with av_fifo_size(). Doing the check in *read() means the caller has
no choice to skip the check when its known to be redundant.
Also the return value was never documented in a public header so
changing it should not break the API. Besides this fixes the case where
read() failed on a 100% full fifo.
Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
a9ee86e79b
set correct duration when using b frames
...
Originally committed as revision 13372 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
c2c3dedf6e
compute the end of all chapters when end is not specified in the container
...
Originally committed as revision 13363 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ebea1d7668
cosmetics: indentation
...
Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
570745cc51
remove useless title check
...
Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
5366f15d05
simplify, remove useless vars
...
Originally committed as revision 13270 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
fbabb0c277
add new h264 and aac flv ids
...
Originally committed as revision 13269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
7ef94d221b
in flv this field is dts finally
...
Originally committed as revision 13268 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
19719bc631
flv use 32 bit pts
...
Originally committed as revision 13267 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
abd2256dbe
Pass time_base as argument to new_chapter() as well.
...
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?
Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f6e76ba476
Document pts/dts.
...
Originally committed as revision 13265 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b18a4ab2ae
Warn user about invalid timestamps.
...
Originally committed as revision 13264 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
883fe4d5bb
Chapter demuxing support. (untested as I have no nuts with chapters)
...
Isn't that much simpler than Matroska?
Originally committed as revision 13263 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5c37f43a0d
Make ff_new_chapter() return AVChapter instead of int so its consistant with
...
av_new_program() and its simpler to set other fields in AVChapter which arent
set by ff_new_chapter().
Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago