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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « r19355_invalid_huffman_table.patch ('k') | static_pthread_O2.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: r19356_theora_decode_init_error_passing.patch
===================================================================
--- r19356_theora_decode_init_error_passing.patch (revision 0)
+++ r19356_theora_decode_init_error_passing.patch (revision 0)
@@ -0,0 +1,32 @@
+commit db092a93aa62fbd42a223c02e9f425a00ca64d2d
+Author: reimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
+Date: Mon Jul 6 09:35:00 2009 +0000
+
+ 100l, theora_decode_init must pass on errors from vp3_decode_init
+
+
+ git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
+
+diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
+index 3f45428..27ea190 100644
+--- a/libavcodec/vp3.c
++++ b/libavcodec/vp3.c
+@@ -2291,6 +2291,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
+ uint8_t *header_start[3];
+ int header_len[3];
+ int i;
++ int ret;
+
+ s->theora = 1;
+
+@@ -2343,8 +2344,8 @@ static av_cold int theora_decode_init(AVCodecContext *avctx)
+ break;
+ }
+
+- vp3_decode_init(avctx);
+- return 0;
++ ret = vp3_decode_init(avctx);
++ return ret;
+ }
+
+ AVCodec theora_decoder = {
Property changes on: r19356_theora_decode_init_error_passing.patch
___________________________________________________________________
Name: svn:eol-style
+ LF
« 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