diff options
| author | Comment <tim@gray.(none)> | 2013-03-17 19:17:29 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-03-17 19:17:29 +0000 |
| commit | 156f40773fae82ec9fe8b5c7ad2615d8fa60c22e (patch) | |
| tree | afb9f5730aac06a59c3ca53adbc0e693269125ba /rotord/avCodec.cpp | |
| parent | 23fe664dabce0a7aa1890d2968e304b2ea666320 (diff) | |
implementing decoder
Diffstat (limited to 'rotord/avCodec.cpp')
| -rw-r--r-- | rotord/avCodec.cpp | 2 |
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); |
