Ronald S. Bultje
ecb4a895b2
Properly initialize filesize during input buffer initialization.
...
patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Originally committed as revision 8343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:51:18 +00:00
Panagiotis Issaris
792098c2ec
Move the memory related functions out of common.h into their own header file
...
mem.h.
Originally committed as revision 8342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:45:49 +00:00
Diego Biurrun
1420b8375d
Remove superfluous header include.
...
Originally committed as revision 8341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:42:34 +00:00
Limin Wang
bde0705c8c
cosmetics: Fix indentation, patch by Limin Wang, lance.lmwang gmail com.
...
Originally committed as revision 8340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:35:36 +00:00
Panagiotis Issaris
750f0e1f8b
Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
...
which use av_log() for logging instead of fprintf().
Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Michel Bardiaux
318c5e0524
Give context to dprintf
...
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 12:36:41 +00:00
Baptiste Coudurier
ea486ab3be
remove codec_info_duration/nb_frames from AVStream
...
Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 10:59:47 +00:00
Baptiste Coudurier
17ceb4f9d1
add message saying that pgmyuv format is deprecated
...
Originally committed as revision 8336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 10:24:36 +00:00
Aurelien Jacobs
ded669f836
cosmetic: indent after last commit
...
Originally committed as revision 8335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:44:13 +00:00
Aurelien Jacobs
ac9073c926
reorder pts of packets from tracks using V_MPEG* codecs
...
Originally committed as revision 8334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:40:57 +00:00
Aurelien Jacobs
3d20538d07
revert r7181
...
This was a stupid mistake. We already take care of time_scale
in av_set_pts_info().
Originally committed as revision 8333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:19:27 +00:00
Aurelien Jacobs
6bed20f45a
check if current block contains a B frame and gives this info to parse_block()
...
Originally committed as revision 8332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 23:05:01 +00:00
Aurelien Jacobs
4d41f3eea0
extract ebml_read_binary() out of matroska_parse_block()
...
This allows to read all the blockgroup parameters before
parsing the block itself.
Originally committed as revision 8331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:54:15 +00:00
Aurelien Jacobs
12f3278dc5
reindent after last commit
...
Originally committed as revision 8330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:28:03 +00:00
Aurelien Jacobs
0fb7a2b9bf
parse clusters until some packets are queued
...
instead of parsing only one cluster
Originally committed as revision 8329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:26:39 +00:00
Aurelien Jacobs
0f3bd8ce1b
fix a stupid bug in ebml_read_sint()
...
Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:19:02 +00:00
Aurelien Jacobs
912c94f3ff
use codec_get_id() instead of deprecated codec_get_[bmp/wav]_id()
...
Originally committed as revision 8327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:16:38 +00:00
Benjamin Larsson
8736d68a80
Respect the gop size (-g) for marking I frames. Use -g 0 gives the old behaviour.
...
Originally committed as revision 8326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 21:01:33 +00:00
Ian Braithwaite
e7485bf378
Replace custom modified discrete cosine transform with ffmpeg's own.
...
This does alter the decoded output, but not by much.
The new output is closer to that produced by Real's "official" decoder,
and the decoder runs slightly faster.
Patch by Ian Braithwaite ian at braithwaite dot dk
Originally committed as revision 8325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 20:30:06 +00:00
Justin Ruggles
43a0791b66
the AC-3 parser needs ac3.o
...
Originally committed as revision 8324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:57:05 +00:00
Justin Ruggles
2476139973
move AC-3 header parsing to ac3.c
...
Originally committed as revision 8323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:44:14 +00:00
Kostya Shishkov
c81ab015f8
Correctly ME border blocks
...
Originally committed as revision 8322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:51:01 +00:00
Reimar Döffinger
284ad8a4f0
Check dimensions to avoid division by zero due to invalid new dimensions.
...
Partially fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=773 .
Originally committed as revision 8321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:16:11 +00:00
Michael Niedermayer
09d9672ad6
fix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea
...
Originally committed as revision 8320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 03:36:17 +00:00
Michael Niedermayer
e1315fb160
some url_is_streamed()==1 related fixes
...
Originally committed as revision 8319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:51:06 +00:00
Justin Ruggles
050aa8b9bc
remove redundancy in AC-3 parser by using common tables from ac3tab.h
...
Originally committed as revision 8318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:13:05 +00:00
Michael Niedermayer
755c18ae5d
fix demuxing of broken MVI_3011.avi
...
Originally committed as revision 8317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 19:30:59 +00:00
Oded Shimon
1017fafb20
remove usage of deprecated functions in libnut.c (codec_get_id/tag)
...
Originally committed as revision 8316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 18:39:58 +00:00
Oded Shimon
0020596f92
Add doxygen file header to libnut.c
...
Originally committed as revision 8315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 18:34:15 +00:00
Diego Biurrun
7350151b17
small improvements to the help output
...
Originally committed as revision 8314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 13:24:54 +00:00
Benoit Fouet
1fc113c405
Use - instead of _ for AMR options in help output.
...
patch by Benoit Fouet, benoit.fouet purplelabs com
Originally committed as revision 8313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 13:15:00 +00:00
Diego Biurrun
626fe95573
markup/wording/spelling/formatting improvements for the last commit
...
Originally committed as revision 8312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 13:12:24 +00:00
Michael Niedermayer
92574878de
@section My bugreport/mail to ffmpeg-dev/user has not received any replies
...
Originally committed as revision 8311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 12:37:37 +00:00
Michael Niedermayer
140fba0985
jpeg fourcc
...
Originally committed as revision 8310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 11:30:48 +00:00
Benjamin Larsson
64472fcff1
Simplify, use avctx->frame_number.
...
Originally committed as revision 8309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 09:20:07 +00:00
Víctor Paesa
6b74787b89
--enable-mingw32 --> --target-os=mingw32
...
patch by Victor Paesa, wzrlpy arsystel com
Originally committed as revision 8308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 19:41:04 +00:00
Panagiotis Issaris
0d8f16acf9
Fix typo in Doxygen comments.
...
Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 15:18:07 +00:00
Justin Ruggles
4258a0a32a
Remove common code from AC-3 encoder and utilize ac3.c.
...
Originally committed as revision 8306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:57:42 +00:00
Justin Ruggles
96ae7f11e7
Create ac3.c which will be used for AC-3 common code.
...
Originally committed as revision 8305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:54:44 +00:00
Limin Wang
348d46f2cb
remove unused code, patch by Limin Wang <lance lmwang at gmail com>
...
Originally committed as revision 8304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:22:18 +00:00
Alex Beregszaszi
acdc852017
print codec parameters for audio too
...
Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:20:57 +00:00
Justin Ruggles
abfe5a4a75
simplify AC-3 bit allocation
...
Originally committed as revision 8302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 03:17:43 +00:00
Justin Ruggles
3a8bf52983
cosmetics. remove space before semi-colon.
...
Originally committed as revision 8301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 23:38:50 +00:00
Baptiste Coudurier
dc13d0b5ae
seems safer to set pts timebase to sample rate, fix some mp3
...
Originally committed as revision 8300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 22:14:04 +00:00
Baptiste Coudurier
b912ef3fc9
fix pts handling
...
Originally committed as revision 8299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 21:29:38 +00:00
Ian Braithwaite
d0429b4ff5
Simplify gain block handling.
...
Patch by Ian Braithwaite <ian at braithwaite dot dk>
Originally committed as revision 8298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 20:43:51 +00:00
Ian Braithwaite
4ff5e6563e
Don't output the first two frames, since they don't contain valid audio.
...
This also eases comparison of decoded output with Real's binary decoder.
Patch by Ian Braithwaite <ian at braithwaite dot dk>
Originally committed as revision 8297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 19:47:03 +00:00
Baptiste Coudurier
39076e27de
fix drop frame timecode flag
...
Originally committed as revision 8296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 18:25:47 +00:00
Michel Bardiaux
bdb4b698d8
Corrections so that builds with DEBUG work
...
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Limin Wang
07cbff39a7
As avcodec_decode_audio() is deprecated, replace it with avcodec_decode_audio2().
...
Patch by Limin Wang, lance lmwang % gmail com.
Originally committed as revision 8294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 11:58:50 +00:00