diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-03 01:18:24 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-03 01:18:24 +0200 |
commit | fb09531720a4aa2dfa97e5a9a246a453b6278fd2 (patch) | |
tree | 61525c3a8ddb419d3838a26e488fc3659079bbcd /contrib/ffmpeg/output_example.c | |
parent | 294d01046724e28b7193bcb65bf2a0391b0135b6 (diff) | |
download | xine-lib-fb09531720a4aa2dfa97e5a9a246a453b6278fd2.tar.gz xine-lib-fb09531720a4aa2dfa97e5a9a246a453b6278fd2.tar.bz2 |
Sync with a more recent version of FFmpeg.
Diffstat (limited to 'contrib/ffmpeg/output_example.c')
-rw-r--r-- | contrib/ffmpeg/output_example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ffmpeg/output_example.c b/contrib/ffmpeg/output_example.c index 7f75b76f2..ca12b783f 100644 --- a/contrib/ffmpeg/output_example.c +++ b/contrib/ffmpeg/output_example.c @@ -28,7 +28,7 @@ #include <math.h> #ifndef M_PI -#define M_PI 3.1415926535897931 +#define M_PI 3.14159265358979323846 #endif #include "avformat.h" @@ -220,7 +220,7 @@ static AVStream *add_video_stream(AVFormatContext *oc, int codec_id) motion of the chroma plane doesnt match the luma plane */ c->mb_decision=2; } - // some formats want stream headers to be seperate + // some formats want stream headers to be separate if(!strcmp(oc->oformat->name, "mp4") || !strcmp(oc->oformat->name, "mov") || !strcmp(oc->oformat->name, "3gp")) c->flags |= CODEC_FLAG_GLOBAL_HEADER; |