patch ffmpeg_vid_codecs.c, support ffmpeg 1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



### Eclipse Workspace Patch 1.0
#P PJproject
Index: pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
===================================================================
--- pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c (revision 4296)
+++ pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c (working copy)
@@ -70,7 +70,7 @@
     * libavcodec 53.61 where some codecs actually still use AVCodec::encode
     * (e.g: H263, H264).
     */
-#      define AVCODEC_HAS_ENCODE(c) (c->encode || c->encode2)
+#      define AVCODEC_HAS_ENCODE(c) (c->encode_sub || c->encode2)
 #  endif
 #  define AV_OPT_SET(obj,name,val,opt) (av_opt_set(obj,name,val,opt)==0)
 #  define AV_OPT_SET_INT(obj,name,val) (av_opt_set_int(obj,name,val,0)==0)

-- 
Best Regards,
Warun
--------------------
Email: pureroot at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121114/f33375d0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_ffmpeg1.0.patch
Type: application/octet-stream
Size: 715 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121114/f33375d0/attachment-0001.patch>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux