Re #1219: protect new ffmpeg features with #ifdefs
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3496 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
81c78afc15
commit
ea508b4ca1
|
@ -922,7 +922,9 @@ static pj_status_t open_ffmpeg_codec(ffmpeg_private *ff,
|
|||
/* Set no delay, note that this may cause some codec functionals
|
||||
* not working (e.g: rate control).
|
||||
*/
|
||||
#if LIBAVCODEC_VERSION_MAJOR >= 52 && LIBAVCODEC_VERSION_MINOR >= 113
|
||||
ctx->rc_lookahead = 0;
|
||||
#endif
|
||||
|
||||
/* Open ffmpeg codec */
|
||||
pj_mutex_lock(ff_mutex);
|
||||
|
|
Loading…
Reference in New Issue