OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87769d6
)
libx265: Use proper error code
author
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Fri, 21 Feb 2014 17:13:56 +0000
(12:13 -0500)
committer
Derek Buitenhuis
<derek.buitenhuis@gmail.com>
Mon, 24 Feb 2014 16:10:23 +0000
(11:10 -0500)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/libx265.c
patch
|
blob
|
history
diff --git
a/libavcodec/libx265.c
b/libavcodec/libx265.c
index
2a5ae06
..
2370601
100644
(file)
--- a/
libavcodec/libx265.c
+++ b/
libavcodec/libx265.c
@@
-235,7
+235,7
@@
static int libx265_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
ret = x265_encoder_encode(ctx->encoder, &nal, &nnal,
pic ? &x265pic : NULL, &x265pic_out);
if (ret < 0)
- return AVERROR_
UNKNOWN
;
+ return AVERROR_
EXTERNAL
;
if (!nnal)
return 0;