Commit Graph

6792 Commits

Author SHA1 Message Date
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
Vitor Sessak
e9655b3dcd Update comment
Originally committed as revision 13434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:21:09 +00:00
Vitor Sessak
2a7b6f251c Rename var: val -> energy
Originally committed as revision 13433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:18:33 +00:00
Vitor Sessak
e037baf797 Rename var: swapbuf* are LPC related
Originally committed as revision 13432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:16:05 +00:00
Vitor Sessak
f000bfad3d Rename var: buffer_2 is an adaptive codebook
Originally committed as revision 13431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 17:10:00 +00:00
Vitor Sessak
17a7fc8ceb Context vars are not global vars. glob is a bad name for it.
Originally committed as revision 13430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 16:59:39 +00:00
Vitor Sessak
fc9fcbaed5 Rename context struct to be more consistent with the rest of ffmpeg
Originally committed as revision 13429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 16:55:22 +00:00
Michael Niedermayer
bc545029bf Warn about packed B-frames. (especially useful if the file in question is
not an avi ...)

Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 11:32:42 +00:00
Michael Niedermayer
87b6ea8458 indent
Originally committed as revision 13411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 02:00:18 +00:00
Michael Niedermayer
99c1c3887d allow av_parser_close(NULL)
fixes issue300

Originally committed as revision 13410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 01:58:47 +00:00
Michael Niedermayer
4806b9226c print direct_spatial_mv_pred
Originally committed as revision 13409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 01:06:15 +00:00
Justin Ruggles
eccba2bc4b safer solution for setting audio parameters
Originally committed as revision 13402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 20:02:24 +00:00
Vitor Sessak
5012cf88a3 Merge two if's
Originally committed as revision 13401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 19:48:03 +00:00
Vitor Sessak
9d3c35fcfc Use (u)int16_t instead of (unsigned) short
Originally committed as revision 13400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 19:00:13 +00:00
Justin Ruggles
cf03a8173a set audio parameters if frame header is ok, even if crc fails
Originally committed as revision 13399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:54:17 +00:00
Justin Ruggles
3336110acf cosmetics: indent
Originally committed as revision 13398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:06:01 +00:00
Justin Ruggles
ecfe94b294 add error concealment
Originally committed as revision 13397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:05:15 +00:00
Vitor Sessak
6477a940f6 Yet more cosmetics
Originally committed as revision 13396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:06:14 +00:00
Vitor Sessak
6fc4fac06c More cosmetics
Originally committed as revision 13395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:04:42 +00:00
Vitor Sessak
b906a5e3b7 Cosmetics
Originally committed as revision 13394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:58:25 +00:00
Vitor Sessak
f8b5f7c71d Rename var
Originally committed as revision 13393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:53:55 +00:00
Vitor Sessak
ac1c27b21c Minor simplification of dec1()
Originally committed as revision 13392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:52:14 +00:00
Vitor Sessak
4bf8f3029b Minor simplification of dec2()
Originally committed as revision 13391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:50:08 +00:00
Vitor Sessak
c62c628fb3 Remove useless variable
Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:46:05 +00:00
Vitor Sessak
14ff7cceeb Cosmetics: merge declaration and initialization
Originally committed as revision 13389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:44:56 +00:00
Vitor Sessak
cdc15adf16 Cosmetics: braces removal
Originally committed as revision 13388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:42:31 +00:00
Vitor Sessak
58e23a5f21 Move evaluation of variable a to where it is trivial
Originally committed as revision 13387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:29:07 +00:00
Vitor Sessak
d6ff684b12 Make add_wav() receive a vector instead of three integers
Originally committed as revision 13386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:27:33 +00:00
Justin Ruggles
93a2c8c14f cosmetics: indent
Originally committed as revision 13385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:20:06 +00:00
Justin Ruggles
43ad93a4f1 10l: fix error in commit r13382
Originally committed as revision 13384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:19:44 +00:00
Vitor Sessak
8916d922fc Remove gbuf2 from context
Originally committed as revision 13383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:10:08 +00:00
Justin Ruggles
82a591d8d1 add checks for missing information in the first block
Originally committed as revision 13382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:34:48 +00:00
Justin Ruggles
3af9131398 add check for invalid channel mode when coupling is used
Originally committed as revision 13381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:23:03 +00:00
Michael Niedermayer
5b0e7dacd8 Fix MB skipping with droppable frames.
Fixes issue323.

Originally committed as revision 13378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:07:35 +00:00
Michael Niedermayer
16e30b7a04 Do not reject odd width/height.
Fixes issue371.

Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:31:07 +00:00
Vitor Sessak
d7dc90e42d Use (u)int16_t instead of short for tables
Originally committed as revision 13376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:26:04 +00:00
Vitor Sessak
0a08273542 Make tables that fit in one byte (u)int8_t
Originally committed as revision 13375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:25:10 +00:00