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:
1c77ead
)
lavc: mention that the parser callback never returns an error
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Thu, 4 Dec 2014 20:46:16 +0000
(20:46 +0000)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Fri, 5 Dec 2014 00:44:42 +0000
(
00:44
+0000)
libavcodec/avcodec.h
patch
|
blob
|
history
diff --git
a/libavcodec/avcodec.h
b/libavcodec/avcodec.h
index
b3c6419
..
7df64ae
100644
(file)
--- a/
libavcodec/avcodec.h
+++ b/
libavcodec/avcodec.h
@@
-3858,6
+3858,8
@@
typedef struct AVCodecParser {
int codec_ids[5]; /* several codec IDs are permitted */
int priv_data_size;
int (*parser_init)(AVCodecParserContext *s);
+ /* This callback never returns an error, a negative value means that
+ * the frame start was in a previous packet. */
int (*parser_parse)(AVCodecParserContext *s,
AVCodecContext *avctx,
const uint8_t **poutbuf, int *poutbuf_size,