~ubuntu-branches/ubuntu/raring/libav/raring-security

« back to all changes in this revision

Viewing changes to debian/patches/post-0.7.1/0041-AVOptions-fix-av_set_string3-doxy-to-match-reality.patch

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2011-09-28 09:18:34 UTC
  • mfrom: (1.3.7 sid)
  • Revision ID: package-import@ubuntu.com-20110928091834-w415mnuh06h4zpvc
Tags: 4:0.7.1-7ubuntu2
Revert "Convert package to include multiarch support."

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 54f12d2889390293d59c2a9c36f1bf78fbca8dca Mon Sep 17 00:00:00 2001
 
2
From: Anton Khirnov <anton@khirnov.net>
 
3
Date: Tue, 23 Aug 2011 07:46:51 +0200
 
4
Subject: [PATCH 41/70] AVOptions: fix av_set_string3() doxy to match reality.
 
5
 
 
6
Fixes bug 28.
 
7
(cherry picked from commit e955a682e125d44143415ff2b96a99a4dac78da2)
 
8
 
 
9
Signed-off-by: Anton Khirnov <anton@khirnov.net>
 
10
---
 
11
 libavutil/opt.h |    2 +-
 
12
 1 files changed, 1 insertions(+), 1 deletions(-)
 
13
 
 
14
diff --git a/libavutil/opt.h b/libavutil/opt.h
 
15
index 30aa54f..ce65865 100644
 
16
--- a/libavutil/opt.h
 
17
+++ b/libavutil/opt.h
 
18
@@ -134,7 +134,7 @@ const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int m
 
19
  *              when 0 then no av_free() nor av_strdup() will be used
 
20
  * @return 0 if the value has been set, or an AVERROR code in case of
 
21
  * error:
 
22
- * AVERROR(ENOENT) if no matching option exists
 
23
+ * AVERROR_OPTION_NOT_FOUND if no matching option exists
 
24
  * AVERROR(ERANGE) if the value is out of range
 
25
  * AVERROR(EINVAL) if the value is not valid
 
26
  */
 
27
-- 
 
28
1.7.4.1
 
29