summaryrefslogtreecommitdiff
path: root/rotord/src/libavwrapper.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-10-01 14:09:54 +0100
committerTim Redfern <tim@eclectronics.org>2013-10-01 14:09:54 +0100
commitd40e73de321ccccd06ca06d4f733b6f2c971a37d (patch)
treed1b62711ff26ad01616efe4bba17e68d4d5aa11c /rotord/src/libavwrapper.h
parent6b7206dee9993e4a1cd74b488b86712baf1a810a (diff)
avcodec error messages
Diffstat (limited to 'rotord/src/libavwrapper.h')
-rw-r--r--rotord/src/libavwrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/libavwrapper.h b/rotord/src/libavwrapper.h
index 4365899..275425d 100644
--- a/rotord/src/libavwrapper.h
+++ b/rotord/src/libavwrapper.h
@@ -182,7 +182,7 @@ namespace libav {
float get_audio_step(){return audiostep;};
AVStream *add_stream(AVFormatContext *oc, AVCodec **codec,enum AVCodecID codec_id); //AVCodecID
- void open_video(AVFormatContext *oc, AVCodec *codec, AVStream *st);
+ bool open_video(AVFormatContext *oc, AVCodec *codec, AVStream *st);
int open_audio(AVFormatContext *oc, AVCodec *codec, AVStream *st);
void write_audio_frame(AVFormatContext *oc, AVStream *st,uint16_t *samples);