Libavformat should not touch it, and its usage is going to be deprecated
soon.
---
 libavformat/ffmdec.c |    2 --
 libavformat/ffmenc.c |    2 --
 tests/ref/lavf/ffm   |    2 +-
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index acc1dc4..702adf6 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -274,8 +274,6 @@ static int ffm_read_header(AVFormatContext *s)
         /* specific info */
         switch(codec->codec_type) {
         case AVMEDIA_TYPE_VIDEO:
-            codec->time_base.num = avio_rb32(pb);
-            codec->time_base.den = avio_rb32(pb);
             codec->width = avio_rb16(pb);
             codec->height = avio_rb16(pb);
             codec->gop_size = avio_rb16(pb);
diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c
index 91658e1..4ebea63 100644
--- a/libavformat/ffmenc.c
+++ b/libavformat/ffmenc.c
@@ -122,8 +122,6 @@ static int ffm_write_header(AVFormatContext *s)
         /* specific info */
         switch(codec->codec_type) {
         case AVMEDIA_TYPE_VIDEO:
-            avio_wb32(pb, codec->time_base.num);
-            avio_wb32(pb, codec->time_base.den);
             avio_wb16(pb, codec->width);
             avio_wb16(pb, codec->height);
             avio_wb16(pb, codec->gop_size);
diff --git a/tests/ref/lavf/ffm b/tests/ref/lavf/ffm
index 7518a81..07efef8 100644
--- a/tests/ref/lavf/ffm
+++ b/tests/ref/lavf/ffm
@@ -1,3 +1,3 @@
-f3f0c42283b75bc826f499f048085c27 *./tests/data/lavf/lavf.ffm
+66afa9a57ecf9b8146e1c76178f4a586 *./tests/data/lavf/lavf.ffm
 376832 ./tests/data/lavf/lavf.ffm
 ./tests/data/lavf/lavf.ffm CRC=0xdd24439e
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to