<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ffmpeg.git, branch n2.7.2</title>
<subtitle>git.ffmpeg.org: ffmpeg.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/'/>
<entry>
<title>Changelog update</title>
<updated>2015-07-19T08:56:11+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-07-10T17:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=15466db69e60f486c44e4c3e680d27c951f125d7'/>
<id>15466db69e60f486c44e4c3e680d27c951f125d7</id>
<content type='text'>
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>imc: use correct position for flcoeffs2 calculation</title>
<updated>2015-07-19T08:14:31+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-07-10T19:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=27816fb9ef26af1fa820c434079491f155e67471'/>
<id>27816fb9ef26af1fa820c434079491f155e67471</id>
<content type='text'>
flcoeffs2[pos] should be the log2 of flcoeffs1[pos].
flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf,
causing problems further down.

This seems to have been copied from imc_decode_level_coefficients in
commit 4eb4bb3 without updating the position.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 75fd5ce4c1c0b2d96d71c74b650cefaaef519d27)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flcoeffs2[pos] should be the log2 of flcoeffs1[pos].
flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf,
causing problems further down.

This seems to have been copied from imc_decode_level_coefficients in
commit 4eb4bb3 without updating the position.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 75fd5ce4c1c0b2d96d71c74b650cefaaef519d27)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hevc: check slice address length</title>
<updated>2015-07-19T08:01:30+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-07-10T17:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=f06d9dced4c7267008beae45f28ce4e1848ef403'/>
<id>f06d9dced4c7267008beae45f28ce4e1848ef403</id>
<content type='text'>
It is used as get_bits argument and reading 0 bits isn't supported.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 05cc8c8e4b7008ff3be8ec477c901b2ceca4b16b)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is used as get_bits argument and reading 0 bits isn't supported.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 05cc8c8e4b7008ff3be8ec477c901b2ceca4b16b)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>snow: remove an obsolete av_assert2</title>
<updated>2015-07-19T08:01:18+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-07-09T17:50:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=26cb351452e76dc4a61028f277cf11b8d7abd74b'/>
<id>26cb351452e76dc4a61028f277cf11b8d7abd74b</id>
<content type='text'>
It asserts that the frame linesize is larger than 37, but it can be
smaller and decoding such frames works.

Before commit cc884a35 src_stride &gt; 7*MB_SIZE was necessary, because the
blocks were interleaved in the tmp buffer and the last block was added
with an offset of 6*MB_SIZE.
It was changed for src_stride &lt;= 7*MB_SIZE to write the blocks
sequentially, hence the larger tmp_step.
After that the assert was only necessary to make sure that the buffer
remained large enough.
Since commit bd2b6b33 s-&gt;scratchbuf is used as tmp buffer.
As part of commit 86e107a7 the minimal scratchbuf size was increased to
256*7*MB_SIZE, which is enough for any src_stride &lt;= 7*MB_SIZE.

Also add a comment explaining the tmp_step calculation.

Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 3526a120f92929cb0a4009e403ee2f141030c487)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It asserts that the frame linesize is larger than 37, but it can be
smaller and decoding such frames works.

Before commit cc884a35 src_stride &gt; 7*MB_SIZE was necessary, because the
blocks were interleaved in the tmp buffer and the last block was added
with an offset of 6*MB_SIZE.
It was changed for src_stride &lt;= 7*MB_SIZE to write the blocks
sequentially, hence the larger tmp_step.
After that the assert was only necessary to make sure that the buffer
remained large enough.
Since commit bd2b6b33 s-&gt;scratchbuf is used as tmp buffer.
As part of commit 86e107a7 the minimal scratchbuf size was increased to
256*7*MB_SIZE, which is enough for any src_stride &lt;= 7*MB_SIZE.

Also add a comment explaining the tmp_step calculation.

Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 3526a120f92929cb0a4009e403ee2f141030c487)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>webp: fix infinite loop in webp_decode_frame</title>
<updated>2015-07-19T08:00:07+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>andreas.cadhalpun@googlemail.com</email>
</author>
<published>2015-07-02T21:45:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=762a5878a6b0bef923ef97c15fdb8274a0351278'/>
<id>762a5878a6b0bef923ef97c15fdb8274a0351278</id>
<content type='text'>
The loop always needs at least 8 bytes for chunk_type and chunk_size.
If fewer are left, bytestream2_get_le32 just returns 0 without
reading any bytes, leading to an infinite loop.

Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
Signed-off-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
(cherry picked from commit 0762152f7af6cd93bc8f504d5503723500c3f369)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The loop always needs at least 8 bytes for chunk_type and chunk_size.
If fewer are left, bytestream2_get_le32 just returns 0 without
reading any bytes, leading to an infinite loop.

Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
Signed-off-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
(cherry picked from commit 0762152f7af6cd93bc8f504d5503723500c3f369)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>wavpack: limit extra_bits to 32 and use get_bits_long</title>
<updated>2015-07-19T07:43:20+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-07-02T21:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=f0af6e705f3b30f7f5afa3c24db27433af6b1bfc'/>
<id>f0af6e705f3b30f7f5afa3c24db27433af6b1bfc</id>
<content type='text'>
More than 32 bits can't be stored in an integer and get_bits should not
be used with more than 25 bits.

Reviewed-by: Paul B Mahol &lt;onemda@gmail.com&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit d0eff8857ceff2601f85037c930cbe61a88b611e)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More than 32 bits can't be stored in an integer and get_bits should not
be used with more than 25 bits.

Reviewed-by: Paul B Mahol &lt;onemda@gmail.com&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit d0eff8857ceff2601f85037c930cbe61a88b611e)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ffmpeg: only count got_output/errors in decode_error_stat</title>
<updated>2015-07-19T07:43:05+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-06-30T19:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=70b97a89d2d7ba837c830b1da5924314d68fc3e7'/>
<id>70b97a89d2d7ba837c830b1da5924314d68fc3e7</id>
<content type='text'>
If threading is used, the first (thread_count - 1) packets are read
before any frame/error is returned. Counting this as successful decoding
is wrong, because it also happens when no single frame could be decoded.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit bd0f14123fd8c7ff1c27b726d143f84c67f3a522)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If threading is used, the first (thread_count - 1) packets are read
before any frame/error is returned. Counting this as successful decoding
is wrong, because it also happens when no single frame could be decoded.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit bd0f14123fd8c7ff1c27b726d143f84c67f3a522)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ffmpeg: exit_on_error if decoding a packet failed</title>
<updated>2015-07-19T07:42:22+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-06-30T19:06:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=1d1adf5ff42041810d4069ce03303706fbf13d8a'/>
<id>1d1adf5ff42041810d4069ce03303706fbf13d8a</id>
<content type='text'>
This is the second part of the fix for ticket #4370.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit cd64ead8d96b2d2c300e0ac620fb82b17d6051bf)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;

Conflicts:
	ffmpeg.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the second part of the fix for ticket #4370.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit cd64ead8d96b2d2c300e0ac620fb82b17d6051bf)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;

Conflicts:
	ffmpeg.c
</pre>
</div>
</content>
</entry>
<entry>
<title>pthread_frame: forward error codes when flushing</title>
<updated>2015-07-19T07:37:42+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-06-30T19:01:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=acfad331adde5b4ae247bf5748211e8fdb6b4ef5'/>
<id>acfad331adde5b4ae247bf5748211e8fdb6b4ef5</id>
<content type='text'>
This is the first part of the fix for ticket #4370.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 32a5b631267e1f8bf279e407039b9a99d012d033)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the first part of the fix for ticket #4370.

Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 32a5b631267e1f8bf279e407039b9a99d012d033)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>huffyuvdec: validate image size</title>
<updated>2015-07-19T07:37:19+00:00</updated>
<author>
<name>Andreas Cadhalpun</name>
<email>Andreas.Cadhalpun@googlemail.com</email>
</author>
<published>2015-06-28T09:21:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ffmpeg.git/commit/?id=43f8a422b34302d94ba76eb9a5be75ffffbc9881'/>
<id>43f8a422b34302d94ba76eb9a5be75ffffbc9881</id>
<content type='text'>
Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 9a345802edf7f430b3335f486aecdd8552f8367b)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Michael Niedermayer &lt;michaelni@gmx.at&gt;
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
(cherry picked from commit 9a345802edf7f430b3335f486aecdd8552f8367b)
Signed-off-by: Andreas Cadhalpun &lt;Andreas.Cadhalpun@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
