Commit Graph

2823 Commits

Author SHA1 Message Date
Diego Biurrun
344b825ceb Rename put_string to ff_put_string to avoid a symbol clash on Mac OS X.
Originally committed as revision 4597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 21:21:01 +00:00
Michael Niedermayer
2118901192 print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 14:45:17 +00:00
Reimar Döffinger
357a28430a check return value of decode_cabac_mb_dqp, it is INT_MIN on error.
fixes crash with http://stud4.tuwien.ac.at/~e0326863/ats/bbc-sample_small.mpg
and MPlayer's broken packetizer (but will not decode right of course).

Originally committed as revision 4595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-17 08:15:07 +00:00
Dario Andrade
18ae520b72 set more x264 encoding parameters
patch by Dario Andrade <dario at ip tv>

Originally committed as revision 4594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-14 21:05:24 +00:00
Michael Niedermayer
fac862c659 the people want lower case ...
Originally committed as revision 4592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 19:16:07 +00:00
Michael Niedermayer
6fd46414db dont include opt.h in avcodec.h
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 18:24:48 +00:00
Diego Biurrun
1471c6c2e8 CAREFULL --> CAREFUL typo fix
Originally committed as revision 4590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 16:30:47 +00:00
Michael Niedermayer
ec9127c4a4 converting a few more options to AVOptions
Originally committed as revision 4587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 12:07:08 +00:00
Michael Niedermayer
637b5326f3 convert some options in ffmpeg.c to AVOptions
Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-12 10:23:52 +00:00
Michael Niedermayer
a1689e2f19 avoid stdio.h
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 23:19:57 +00:00
Michael Niedermayer
c44a131dc7 missing include noticed by g0th
Originally committed as revision 4582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:39:33 +00:00
Michael Niedermayer
233f6f889e flags and named constants with type checking of course for AVOption
spliting AVOption specific stuff out of avcodec.h into opt.h

Originally committed as revision 4581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 14:22:42 +00:00
Michael Niedermayer
8bbf6db98b AVOption API improvments
support AVOptions for encoding in ffmpeg.c

Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-11 11:10:25 +00:00
Michael Niedermayer
434df899fe add xvid idcts to dct-test
Originally committed as revision 4576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 23:00:13 +00:00
Reimar Döffinger
cd7af76d9e Fix compile without CONFIG_GPL, misplaced #endif caused a missing }.
Originally committed as revision 4575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:30:40 +00:00
Michael Niedermayer
9f211bc6d7 remove unused table entries
change non portable table access

Originally committed as revision 4574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 19:03:37 +00:00
Michael Niedermayer
ddabdfefa8 select xvid idct for xvid files if possible
Originally committed as revision 4573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:09:54 +00:00
Michael Niedermayer
84740d5980 xvids mmx&mmx2 idcts
needed to decode xvid without some minor artefacts
under #ifdef CONFIG_GPL of course

Originally committed as revision 4572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 17:01:30 +00:00
Michael Niedermayer
96b6ace22e dont be so picky with .mp4 ... fixes Mr&MrsSmith.mp4
Originally committed as revision 4571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-10 01:13:10 +00:00
Alex Beregszaszi
8868d31065 use av_log in debug mode
Originally committed as revision 4570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-07 19:15:48 +00:00
Michael Niedermayer
3735e82f2d AVOption enumeration support and some flags to classify AVOptions
Originally committed as revision 4568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:32:18 +00:00
Måns Rullgård
79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Michael Niedermayer
d57d8cbc25 a few more raw yuv fourccs
Originally committed as revision 4565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 15:02:43 +00:00
Michael Niedermayer
860a40c8a7 AVOption first try
Originally committed as revision 4563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 12:51:56 +00:00
Loren Merritt
fbd312fd91 fix emulated edge motion compensation when resolution%16!=0
Originally committed as revision 4561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 17:07:52 +00:00
Michael Niedermayer
f79432a26e set a few variables correctly
Originally committed as revision 4560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 10:26:11 +00:00
Michael Niedermayer
1cef211dca AV_LOG_DEBUG vs. AV_LOG_ERROR
Originally committed as revision 4559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-05 09:28:46 +00:00
Michael Niedermayer
3723f01c14 fixme note
Originally committed as revision 4557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:04:52 +00:00
Michael Niedermayer
42661adfe6 pts must be in time_base units
Originally committed as revision 4556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-04 09:03:01 +00:00
Michael Niedermayer
b983a5c608 print fourcc in a readable form if possible
Originally committed as revision 4554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 20:36:24 +00:00
Michael Niedermayer
d3a9f79871 simplify (d&a) and (d&~a) calculation, hint by skal
Originally committed as revision 4552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-03 09:17:30 +00:00
Michael Niedermayer
b5b65df7a9 add consts (this was in my local tree, dunno where it came from, probably forgoten from some const patch)
Originally committed as revision 4551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 21:13:19 +00:00
Reimar Döffinger
6c0d606471 Document "us" parameter for PCM conversion functions.
Originally committed as revision 4550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 20:04:03 +00:00
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Michael Niedermayer
16beae15f3 setting timebase in the encoder doesnt seem like a good idea
Originally committed as revision 4547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 17:12:16 +00:00
Justin Ruggles
1ff8f2b36a fixed quality / vbr encoding patch by (Justin Ruggles, jruggle, earthlink net)
Originally committed as revision 4546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 11:08:49 +00:00
Michael Niedermayer
4325ffd0a2 lowres support
Originally committed as revision 4545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 08:30:26 +00:00
Michael Niedermayer
473a200d93 error concealment fix
Originally committed as revision 4543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-01 00:15:12 +00:00
Michael Niedermayer
c619ff6daf optimizations
dc coeff rounding fix
class=3 num of bits fix
do interlaced check & idct only if CODEC_FLAG_INTERLACED_DCT

Originally committed as revision 4542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-30 20:03:19 +00:00
Michael Niedermayer
95ae72b7e0 Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 19:05:44 +00:00
Burkhard Plaum
5b2bf94340 Fix for memleak in dv.c patch by (Burkhard Plaum; plaum, ipf uni-stuttgart de)
Originally committed as revision 4539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 15:41:28 +00:00
Michael Niedermayer
ba17363ff7 prevent assert failures and infinite loops with broken streams
Originally committed as revision 4538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-25 00:01:57 +00:00
Michael Niedermayer
5b28c8c355 time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:31:01 +00:00
Michael Niedermayer
cc884a3506 reducing minimum supported picture size
Originally committed as revision 4535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 22:17:41 +00:00
Justin Ruggles
c57c770db3 vbr audio encode patch by (Justin Ruggles: jruggle, earthlink net)
with changes by me
    int->float as video uses float too
    remove silent cliping to some per codec range, this should result in an error instead
    remove change to utils.c as its inconsistant with video

Originally committed as revision 4533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 20:27:00 +00:00
Burkhard Plaum
32fbf33e61 Call av_free_static automatically before DLL unload patch by (plaum:ipf uni-stuttgart de)
Originally committed as revision 4532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 19:50:22 +00:00
Michael Niedermayer
1cd89f276a segfault fix
Originally committed as revision 4531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-21 15:44:59 +00:00
Michael Niedermayer
a1043f9c50 automatically remove mess
Originally committed as revision 4529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-16 07:53:03 +00:00
Michael Niedermayer
7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Mike Melanson
af9da83b0e automatically detect Cinepak data from Sega FILM/CPK files
Originally committed as revision 4525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 18:39:59 +00:00
Wolfram Gloger
f0ff20a197 minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:37:29 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Ian Caulfield
bf01fb696d subs.diff fixes a couple of minor bugs in my DVB subtitle decoder, and also fixes a few
problems in the DVD decoder (the palette entries were being read
back-to-front, and the timing conversions were slighly off)
patch by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 01:15:27 +00:00
Michael Niedermayer
2eca4a44b1 set pix_fmt
Originally committed as revision 4518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 21:34:24 +00:00
Mike Melanson
ca16618b01 tinfoil patch: no array is written to in bulk before counts are
validated; do not free frames that are not allocated; removed all of the
output modes that no one uses and only PAL8 remains

Originally committed as revision 4517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 20:48:47 +00:00
Mike Melanson
485bb00108 removed a bunch of unused, sub-optimal code
Originally committed as revision 4516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:49:01 +00:00
Mike Melanson
8458dab185 tinfoil patch: be more diligent about checking array boundaries before
writing to them

Originally committed as revision 4515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:39:21 +00:00
Mike Melanson
b9029997d4 tinfoil patch: validate motion vectors and do not free frame on exit if
frame is NULL; also removed some ancient MC code that did not perform
half-pel C-plane MC

Originally committed as revision 4514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 18:25:17 +00:00
Mike Melanson
a06c7e07d7 tinfoil patch: make sure pixel_ptr never goes negative
Originally committed as revision 4513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:46:09 +00:00
Mike Melanson
6b892a4227 tinfoil patch: accept no widths that are no multiples of 4
Originally committed as revision 4512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 17:12:38 +00:00
Mike Melanson
3c8c94b403 tinfoil patch: make sure that pixel pointer does not go out of bounds
Originally committed as revision 4511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 16:59:01 +00:00
Måns Rullgård
a71a1dfc37 fix building in separate directory
Originally committed as revision 4509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 13:45:42 +00:00
Kostya Shishkov
f63166f8df security fixes
* check for writing to lines -1,-2,...
* check for motion compensation (copying from and to valid place)
patch by (Kostya: kostya shishkov, gmail com)

Originally committed as revision 4508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-13 09:12:09 +00:00
Edward Hervey
856170f752 DV video encoder/decoder doesn't set keyframe and picture type properties patch by (Edward Hervey:bilboed,gmail com)
Originally committed as revision 4503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-11 01:28:04 +00:00
Michael Niedermayer
77b854883e mkstemp on win32 workaround by (Ivan Wong: email, ivanwong info)
Originally committed as revision 4495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-06 09:46:04 +00:00
Steven M. Schultz
6987c58a0a liba52/crc.c fails to compile patch by ("Steven M. Schultz": sms, 2bsd com)
Originally committed as revision 4494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 23:25:35 +00:00
Alex Beregszaszi
23972d5a6c 10l
Originally committed as revision 4493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-05 19:15:34 +00:00
Michael Niedermayer
804b0dac58 segfault fix
Originally committed as revision 4491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-04 22:46:27 +00:00
Alexander Strasser
c11c2bc20b libavutil: Utility code from libavcodec moved to a separate library.
Originally committed as revision 4489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:07:05 +00:00
Michael Niedermayer
0cc64d3d1c fix assertion failure for mpeg2 encoding
Originally committed as revision 4488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 20:01:41 +00:00
Michael Niedermayer
cdd106899f workaround 'colocated mv if colocated block is L1 predicted' bug in x264
Originally committed as revision 4487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-01 14:47:07 +00:00
Michael Niedermayer
5aa083eec1 A.B.C versions
Originally committed as revision 4486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:51:04 +00:00
Michael Niedermayer
e53222d19b try to check for nonsense time_base instead of setting fake one
Originally committed as revision 4485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-31 10:00:25 +00:00
Michael Niedermayer
efbc614de0 check time_base.den for mpeg4
avoid zero time_base.* for h263

Originally committed as revision 4483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-30 16:15:36 +00:00
Michael Niedermayer
2f300f8965 motion vector limit for mpeg2
Originally committed as revision 4482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 13:16:35 +00:00
Diego Biurrun
51fd379af2 Reduce verbosity.
Originally committed as revision 4478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 07:29:20 +00:00
Michael Niedermayer
8583bef871 fixing colocated mv if colocated block is L1 predicted for the temporal direct case
untested (none of the conformance streams laying around on my disk seems affected by this change)

Originally committed as revision 4477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-27 00:15:55 +00:00
Michael Niedermayer
4866bd2b82 fixing colocated mv if colocated block is L1 predicted
fixes "H.264 decoding bug in either lavc/JM"

Originally committed as revision 4476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-26 23:40:55 +00:00
Martin Boehme
acb22f9391 Fix for overflow issue in mpegvideo.c patch by (Martin Boehme: boehme, inb uni-luebeck de)
this integer overflow might lead to the execution of arbitrary code during encoding with threads

Originally committed as revision 4474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 23:07:27 +00:00
Michael Niedermayer
ddebfb15dc thread mess check for avcodec_open/close()
Originally committed as revision 4472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-25 14:35:01 +00:00
Michael Niedermayer
91d44ffc9a fix user data parsing code so it suppors pre1 and cvs
Originally committed as revision 4471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-24 09:28:24 +00:00
Michael Niedermayer
d9dd7a0d2c minor user data reading bugfix
Originally committed as revision 4467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-23 11:16:18 +00:00
Reimar Döffinger
cad4368af7 Add missing +1 in bounds check.
Originally committed as revision 4465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 09:01:47 +00:00
Reimar Döffinger
4eecd5bc66 reset restart_count when restart_interval is set and fill the
MJpegDecodeContext with 0 on init.

Originally committed as revision 4464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 08:48:00 +00:00
Michael Niedermayer
2e8f2c20c9 portable IEEE float/double read/write functions
Originally committed as revision 4458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 14:25:23 +00:00
Michael Niedermayer
ea4377de8c portable IEEE float/double read/write functions
Originally committed as revision 4457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-19 13:29:13 +00:00
Michael Niedermayer
4c1a012e9c dont pre allocate uselessly large buffer and dont ignore FF_INPUT_BUFFER_PADDING_SIZE
Originally committed as revision 4452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 12:56:56 +00:00
Michael Niedermayer
e33943728e verify len field validity in mjpeg_decode_com()
Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 11:27:00 +00:00
Michael Niedermayer
50e2450bc1 10l (forgot to commit this yesterday)
DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)

Originally committed as revision 4449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 09:22:51 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Michael Niedermayer
b194c327fc yamaha adpcm nibbles in the wrong order fix by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-16 11:18:42 +00:00
Vidar Madsen
2ff4524e72 Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)
Originally committed as revision 4442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-15 06:51:36 +00:00
Michael Niedermayer
e0111b3243 more fine grained skip_frame
Originally committed as revision 4441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:57:22 +00:00
Michael Niedermayer
8c3eba7c62 skip_idct
skip_frame
skip_loop_filter

Originally committed as revision 4440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 21:39:36 +00:00
Michael Niedermayer
fec9ccb7e6 check for CODEC_CAP_DELAY in audio decoders too
Originally committed as revision 4439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 15:30:39 +00:00
Michael Niedermayer
46044471a0 ffmpeg version should be "CVS"
Originally committed as revision 4438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-14 14:34:39 +00:00
Michael Niedermayer
aa6ff39bb0 check len (should fix #1165694)
Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 23:39:47 +00:00
Michael Niedermayer
1a55810e87 fix segfault (bug #1165640)
Originally committed as revision 4435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:56:23 +00:00
Michael Niedermayer
472ea1284e fix infinite loop (suggested change by rjayne at convera dot com)
fixes bug #1160195

Originally committed as revision 4434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:34:34 +00:00
Michael Niedermayer
02fb0d7c72 fix decoding of (broken) files with f_code=0
fix segfault if the first P frames header is damaged

Originally committed as revision 4432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 22:15:03 +00:00