Commit Graph

6828 Commits

Author SHA1 Message Date
Vitor Sessak
4dc471c30c Minor simplification
Originally committed as revision 13578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:38:34 +00:00
Vitor Sessak
9765b44c50 Rename variable
Originally committed as revision 13577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:36:46 +00:00
Vitor Sessak
208a2a60b9 Remove useless intermediate variable
Originally committed as revision 13576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:34:35 +00:00
Vitor Sessak
9d283aee83 Remove ra144.o dependency added in revision r13500, now reverted
Originally committed as revision 13575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:32:11 +00:00
Michael Niedermayer
b13ddb3bca unused
Originally committed as revision 13572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 23:27:21 +00:00
Michael Niedermayer
b9c8388710 As *_static are not deallocated anymore except on program termination
we do not need to keep track of them anymore.
Fixes CID117 RUN2 and various race conditions.

Originally committed as revision 13571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 23:26:09 +00:00
Michael Niedermayer
83422c1940 unused
Originally committed as revision 13570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:17:10 +00:00
Michael Niedermayer
65de23d1b6 Remove non C code.
Originally committed as revision 13569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:15:34 +00:00
Michael Niedermayer
09dafaeba1 Move *_static to bitstream.c which is the only file left which needs
them.

Originally committed as revision 13568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:12:33 +00:00
Michael Niedermayer
ceaaf78bb7 Change init_vlc_rl() so it does not use *alloc_static() anymore.
Originally committed as revision 13567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:08:41 +00:00
Michael Niedermayer
2d80ce2bdf Change init_2d_vlc_rl() to not use *alloc_static().
Originally committed as revision 13566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:06:40 +00:00
Michael Niedermayer
9ef3193df1 Remove constant argument.
Originally committed as revision 13564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:06:08 +00:00
Michael Niedermayer
f76605e880 Switch to INIT_VLC_USE_NEW_STATIC.
Note, if code you maintain still uses INIT_VLC_USE_STATIC please change
it as well! Iam not volunteering to clean all codecs up ...

Originally committed as revision 13563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:02:59 +00:00
Michael Niedermayer
d05b24ff89 Little helper macro to make the use of INIT_VLC_USE_NEW_STATIC easier.
Originally committed as revision 13562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:00:19 +00:00
Michael Niedermayer
ccc54864fe Make init_vlc* support proper static tables instead of this broken beyond
imagination alloc_static() trash.

Originally committed as revision 13561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 19:48:02 +00:00
Vitor Sessak
27f19ed501 Revert r13499, log:
Make lpc coefficients 16 bit wide

Only one of my samples didn't decode bit-exact after this change,
but better be safe than sorry.

Originally committed as revision 13560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 19:46:43 +00:00
Carl Eugen Hoyos
7e14f14584 Warn about unimplemented H264 feature.
Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 23:16:12 +00:00
Pascal Massimino
ae899d12ae in TRUNCATED mode, use residual fragments in ParseContext
for decoding the very last frame.

Originally committed as revision 13538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 20:09:45 +00:00
Stefano Sabatini
09d9087d26 Add ASUS V1/V2 decoder codec long names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 11:04:42 +00:00
Baptiste Coudurier
390b25aeda set avctx time_base in dv decoder
Originally committed as revision 13515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 23:56:25 +00:00
Michael Niedermayer
161dab177f ILP64 fix
Originally committed as revision 13513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 22:36:08 +00:00
Vitor Sessak
659094cb6b Rename variable
Originally committed as revision 13510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:25:18 +00:00
Vitor Sessak
5e8782dddf More intermediate vars removal
Originally committed as revision 13508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:17:32 +00:00
Vitor Sessak
408f43cb36 Remove unused var
Originally committed as revision 13506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:04:42 +00:00
Vitor Sessak
7019f1a510 Remove useless intermediate var
Originally committed as revision 13505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:02:51 +00:00
Vitor Sessak
e05f96285e Remove dec1() function
Originally committed as revision 13504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 20:36:11 +00:00
Vitor Sessak
31e15894d5 Use ff_acelp_weighted_vector_sum() instead of reimplementing it
Originally committed as revision 13500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 19:04:34 +00:00
Vitor Sessak
594409a25c Make lpc coefficients 16 bit wide
Originally committed as revision 13499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 19:02:16 +00:00
Vitor Sessak
121ec9e55a Simplify implementation and use of dec2()
Originally committed as revision 13498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 18:59:09 +00:00
Michael Niedermayer
909a9ad08d Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
fixes CID84 RUN2
      CID85 RUN2
      CID86 RUN2
      CID87 RUN2
      CID88 RUN2
      CID89 RUN2
      CID90 RUN2
      CID91 RUN2
      CID92 RUN2
      CID93 RUN2
      CID94 RUN2
      CID95 RUN2
      CID96 RUN2
      CID97 RUN2
      CID98 RUN2
      CID99 RUN2
      CID100 RUN2
      CID101 RUN2
      CID102 RUN2
      CID103 RUN2
      CID104 RUN2
      CID105 RUN2
      CID106 RUN2

Originally committed as revision 13495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:59:41 +00:00
Michael Niedermayer
e2d09b65e8 set coded_frame
Originally committed as revision 13492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:33:28 +00:00
Diego Biurrun
9c852bcf58 cosmetics: spelling typo fixes
Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 09:20:59 +00:00
Michael Niedermayer
c192426fd8 Fix return type of ff_init_me().
Originally committed as revision 13487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:54:09 +00:00
Michael Niedermayer
dd72228e53 minor simplification
Originally committed as revision 13485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:34:46 +00:00
Michael Niedermayer
8403c543de redundant
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:30:59 +00:00
Michael Niedermayer
540c5220ff Check dia size a little more. Fixes CID80.
Originally committed as revision 13481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 23:41:10 +00:00
Michael Niedermayer
6138ed777d Arrays where one element too small, fixes CID114.
this was possibly exploitable

Originally committed as revision 13475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 22:10:17 +00:00
Michael Niedermayer
c1815c3700 memleak / fixes CID118
Originally committed as revision 13473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 21:12:28 +00:00
Michael Niedermayer
8e6f8869ab Do not read from prior the array, fix CID 127.
Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 19:44:56 +00:00
Vitor Sessak
d26a180fd6 Add comment
Originally committed as revision 13469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 16:50:48 +00:00
Vitor Sessak
1fe50db3f2 Fix doxy comments
Originally committed as revision 13468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 16:14:31 +00:00
Diego Biurrun
842eabc5f9 cosmetics: XviD is now called Xvid.
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 12:32:59 +00:00
Diego Biurrun
ae52bbe5de cosmetics: typo fixes
Originally committed as revision 13464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 10:51:23 +00:00
Justin Ruggles
bd98e9e230 zero the upper frequencies of the correct coefficients
Originally committed as revision 13452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:43:39 +00:00
Diego Biurrun
1384e27054 consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:36:05 +00:00
Stefano Sabatini
5231f101d1 Clarify avcodec_encode_audio() vs. PCM audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:19:26 +00:00
Diego Biurrun
f4433de9ef consistency cosmetics: indices --> indexes
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:14:25 +00:00
Diego Biurrun
30bd40f2f1 cosmetics: typo
Originally committed as revision 13443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:11:24 +00:00
Diego Biurrun
756a01f522 cosmetics: Use C-style comments in #endif directives.
Originally committed as revision 13442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:09:46 +00:00
Vitor Sessak
6286924461 Rename var: add read coefficients a decent name
Originally committed as revision 13435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:26:47 +00:00