Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Side by Side Diff: r19356_theora_decode_init_error_passing.patch

Issue 164120: Add patches for block-level quant in theora, -O2 on build, and statically link pthread on Windows (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « r19355_invalid_huffman_table.patch ('k') | static_pthread_O2.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 commit db092a93aa62fbd42a223c02e9f425a00ca64d2d
2 Author: reimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
3 Date: Mon Jul 6 09:35:00 2009 +0000
4
5 100l, theora_decode_init must pass on errors from vp3_decode_init
6
7
8 git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19356 9553f0bf-9b14- 0410-a0b8-cfaf0461ba5b
9
10 diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
11 index 3f45428..27ea190 100644
12 --- a/libavcodec/vp3.c
13 +++ b/libavcodec/vp3.c
14 @@ -2291,6 +2291,7 @@ static av_cold int theora_decode_init(AVCodecContext *avct x)
15 uint8_t *header_start[3];
16 int header_len[3];
17 int i;
18 + int ret;
19
20 s->theora = 1;
21
22 @@ -2343,8 +2344,8 @@ static av_cold int theora_decode_init(AVCodecContext *avct x)
23 break;
24 }
25
26 - vp3_decode_init(avctx);
27 - return 0;
28 + ret = vp3_decode_init(avctx);
29 + return ret;
30 }
31
32 AVCodec theora_decoder = {
OLDNEW
« no previous file with comments | « r19355_invalid_huffman_table.patch ('k') | static_pthread_O2.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698