aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-02-08 12:00:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-02-08 12:00:57 +0000
commit63b15e559ac725321ea7a5bc38c123da8cf7d764 (patch)
tree66e05b6308ca7b4a52e18c63e4b2d996a5e496e1 /ffmpeg.c
parent27efd8467a92a5ea2af49acabf451bf233d5184d (diff)
downloadffmpeg-63b15e559ac725321ea7a5bc38c123da8cf7d764.tar.gz
mpeg1 bframe encoding patch by (Raphaƫl LEGRAND) with some modifications by me
Originally committed as revision 1551 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7288fc99e6..d7a1480e1d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2234,10 +2234,6 @@ void opt_output_file(const char *filename)
if (b_frames) {
- if (codec_id != CODEC_ID_MPEG4) {
- fprintf(stderr, "\nB frames encoding only supported by MPEG-4.\n");
- exit(1);
- }
video_enc->max_b_frames = b_frames;
video_enc->b_frame_strategy = 0;
video_enc->b_quant_factor = 2.0;
@@ -2775,7 +2771,7 @@ int main(int argc, char **argv)
const char *opt, *arg;
const OptionDef *po;
INT64 ti;
-
+
av_register_all();
/* detect if invoked as player */