summaryrefslogtreecommitdiff
path: root/rotord/avCodec.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-03-17 19:17:29 +0000
committerComment <tim@gray.(none)>2013-03-17 19:17:29 +0000
commit156f40773fae82ec9fe8b5c7ad2615d8fa60c22e (patch)
treeafb9f5730aac06a59c3ca53adbc0e693269125ba /rotord/avCodec.cpp
parent23fe664dabce0a7aa1890d2968e304b2ea666320 (diff)
implementing decoder
Diffstat (limited to 'rotord/avCodec.cpp')
-rw-r--r--rotord/avCodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/avCodec.cpp b/rotord/avCodec.cpp
index 61c201b..36b92a6 100644
--- a/rotord/avCodec.cpp
+++ b/rotord/avCodec.cpp
@@ -308,7 +308,7 @@ static void avCodec::video_encode_example(const char *filename, int codec_id)
printf("Encode video file %s\n", filename);
/* find the mpeg1 video encoder */
- codec =avcodec_find_encoder(codec_id);
+ codec =avcodec_find_encoder((AVCodecID)codec_id);
if (!codec) {
fprintf(stderr, "Codec not found\n");
exit(1);