Commit fb73f80e authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Make sur that we don't use the FFMPEG code in iOS for the jpeg2yuv() function

parent f17ad001
...@@ -53,7 +53,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -53,7 +53,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#endif #endif
static mblk_t *jpeg2yuv(uint8_t *jpgbuf, int bufsize, MSVideoSize *reqsize){ static mblk_t *jpeg2yuv(uint8_t *jpgbuf, int bufsize, MSVideoSize *reqsize){
#ifndef NO_FFMPEG #if !defined(NO_FFMPEG) && !TARGET_OS_IPHONE /* this code must never be used for iOS */
AVCodecContext av_context; AVCodecContext av_context;
int got_picture=0; int got_picture=0;
mblk_t *ret; mblk_t *ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment