Skip to content

Commit

Permalink
init-ios.sh: sync ffversion in ffcontroller
Browse files Browse the repository at this point in the history
  • Loading branch information
xinzhengzhang committed Nov 4, 2016
1 parent a4a006d commit fd76de6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions init-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ function pull_fork_all() {
done
}

function sync_ff_version() {
sed -i '' "s/static const char \*kIJKFFRequiredFFmpegVersion\ \=\ .*/static const char *kIJKFFRequiredFFmpegVersion = \"${IJK_FFMPEG_COMMIT}\";/g" ios/IJKMediaPlayer/IJKMediaPlayer/IJKFFMoviePlayerController.m
}

#----------
case "$FF_TARGET" in
ffmpeg-version)
Expand All @@ -86,3 +90,6 @@ case "$FF_TARGET" in
pull_fork_all
;;
esac

sync_ff_version

0 comments on commit fd76de6

Please sign in to comment.