diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/FFMPEGSoftCodec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/FFMPEGSoftCodec.cpp b/media/libstagefright/FFMPEGSoftCodec.cpp index 3e51322..101d765 100644 --- a/media/libstagefright/FFMPEGSoftCodec.cpp +++ b/media/libstagefright/FFMPEGSoftCodec.cpp @@ -355,11 +355,11 @@ status_t FFMPEGSoftCodec::setVideoFormat( return err; } +#ifdef QCOM_HARDWARE status_t FFMPEGSoftCodec::setQCDIVXFormat( const sp<AMessage> &msg, const char* mime, sp<IOMX> OMXhandle, IOMX::node_id nodeID, int port_index) { status_t err = OK; -#ifdef QCOM_HARDWARE if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_DIVX, mime) || !strcasecmp(MEDIA_MIMETYPE_VIDEO_DIVX4, mime) || !strcasecmp(MEDIA_MIMETYPE_VIDEO_DIVX311, mime)) { @@ -391,9 +391,9 @@ status_t FFMPEGSoftCodec::setQCDIVXFormat( (OMX_INDEXTYPE)OMX_QcomIndexParamVideoDivx, ¶mDivX, sizeof(paramDivX)); } -#endif return err; } +#endif status_t FFMPEGSoftCodec::getVideoPortFormat(OMX_U32 portIndex, int coding, sp<AMessage> ¬ify, sp<IOMX> OMXHandle, IOMX::node_id nodeId) { |