summaryrefslogtreecommitdiff
path: root/modules/avcodec/avcodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/avcodec/avcodec.h')
-rw-r--r--modules/avcodec/avcodec.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/avcodec/avcodec.h b/modules/avcodec/avcodec.h
index 0b275f3..890df5f 100644
--- a/modules/avcodec/avcodec.h
+++ b/modules/avcodec/avcodec.h
@@ -26,13 +26,12 @@ extern const uint8_t h264_level_idc;
struct videnc_state;
int encode_update(struct videnc_state **vesp, const struct vidcodec *vc,
- struct videnc_param *prm, const char *fmtp);
-int encode(struct videnc_state *st, bool update, const struct vidframe *frame,
- videnc_packet_h *pkth, void *arg);
+ struct videnc_param *prm, const char *fmtp,
+ videnc_packet_h *pkth, void *arg);
+int encode(struct videnc_state *st, bool update, const struct vidframe *frame);
#ifdef USE_X264
int encode_x264(struct videnc_state *st, bool update,
- const struct vidframe *frame,
- videnc_packet_h *pkth, void *arg);
+ const struct vidframe *frame);
#endif