diff options
author | Alexander Strange <astrange@ithinksw.com> | 2008-07-02 21:46:18 +0000 |
---|---|---|
committer | Alexander Strange <astrange@ithinksw.com> | 2008-07-02 21:46:18 +0000 |
commit | fedec603db2b673d122244691c950df07df95222 (patch) | |
tree | bc1ac01758f066d36c63c06d609805613843dea7 /libavcodec/h264.h | |
parent | 5faf3a4449ff9feaea18e14389b6747aef82a4a7 (diff) | |
download | ffmpeg-fedec603db2b673d122244691c950df07df95222.tar.gz |
Don't test for H264 encoding unless an encoder exists.
Originally committed as revision 14048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 6b76420ceb..2531e3a2e4 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -70,6 +70,10 @@ #endif #define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF || FIELD_PICTURE) +#ifndef ENABLE_H264_ENCODER +#define ENABLE_H264_ENCODER 0 +#endif + /** * Sequence parameter set */ |