diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-01 13:15:09 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-07 07:27:55 +0200 |
commit | 9c684feadc063473da3f9e341fa07e6c17b75154 (patch) | |
tree | ff9bf10a0243083a209197718658ff5c2a157d90 /libavformat | |
parent | 0635a8aa21d0495575c24f1883c1e6832d882657 (diff) | |
download | ffmpeg-streaming-9c684feadc063473da3f9e341fa07e6c17b75154.zip ffmpeg-streaming-9c684feadc063473da3f9e341fa07e6c17b75154.tar.gz |
libx264: add 'direct-pred' private option
Deprecate AVCodecContext.directpred
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ffmdec.c | 1 | ||||
-rw-r--r-- | libavformat/ffmenc.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 143f20b..b9516d5 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -353,7 +353,6 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap) codec->qblur = av_int2dbl(avio_rb64(pb)); codec->max_qdiff = avio_rb32(pb); codec->refs = avio_rb32(pb); - codec->directpred = avio_rb32(pb); break; case AVMEDIA_TYPE_AUDIO: codec->sample_rate = avio_rb32(pb); diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c index e9d2571..4bfae69 100644 --- a/libavformat/ffmenc.c +++ b/libavformat/ffmenc.c @@ -165,7 +165,6 @@ static int ffm_write_header(AVFormatContext *s) avio_wb64(pb, av_dbl2int(codec->qblur)); avio_wb32(pb, codec->max_qdiff); avio_wb32(pb, codec->refs); - avio_wb32(pb, codec->directpred); break; case AVMEDIA_TYPE_AUDIO: avio_wb32(pb, codec->sample_rate); |