[Ffmpeg-devel] [PATCH] - fix for asf format skip problem

John Donaghy johnfdonaghy
Wed Feb 22 02:54:43 CET 2006


It was a base64 encoded file but the original was a DOS file. The
attached version is a Unix format text file.

On 2/21/06, Diego Biurrun <diego at biurrun.de> wrote:
> On Tue, Feb 21, 2006 at 05:04:45PM -0600, John Donaghy wrote:
> >
> > Here's a proposed patch that fixes a problem when playing dvr-ms files
> > via mplayer with demuxer 35.
>
> Dunno what format this patch is, but it appears mangled to me...
>
> Diego
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
? asf_skip_fix_patch.txt
? libavformat/Copy of Makefile
Index: libavformat/asf.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/asf.c,v
retrieving revision 1.92
diff -u -r1.92 asf.c
--- libavformat/asf.c	12 Feb 2006 02:22:46 -0000	1.92
+++ libavformat/asf.c	21 Feb 2006 22:49:26 -0000
@@ -802,7 +802,7 @@
             return AV_NOPTS_VALUE;
         }
 
-        pts= pkt->pts * 1000 / AV_TIME_BASE;
+        pts= pkt->pts;
 
         av_free_packet(pkt);
         if(pkt->flags&PKT_FLAG_KEY){PyBhc2Zfc2tpcF9maXhfcGF0Y2gudHh0DQo/IGxpYmF2Zm9ybWF0L0NvcHkgb2YgTWFrZWZpbGUNCkluZGV4OiBsaWJhdmZvcm1hdC9hc2YuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9jdnNyb290L2ZmbXBlZy9mZm1wZWcvbGliYXZmb3JtYXQvYXNmLmMsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjkyDQpkaWZmIC11IC1yMS45MiBhc2YuYw0KLS0tIGxpYmF2Zm9ybWF0L2FzZi5jCTEyIEZlYiAyMDA2IDAyOjIyOjQ2IC0wMDAwCTEuOTINCisrKyBsaWJhdmZvcm1hdC9hc2YuYwkyMSBGZWIgMjAwNiAyMjo0OToyNiAtMDAwMA0KQEAgLTgwMiw3ICs4MDIsNyBAQA0KICAgICAgICAgICAgIHJldHVybiBBVl9OT1BUU19WQUxVRTsNCiAgICAgICAgIH0NCiANCi0gICAgICAgIHB0cz0gcGt0LT5wdHMgKiAxMDAwIC8gQVZfVElNRV9CQVNFOw0KKyAgICAgICAgcHRzPSBwa3QtPnB0czsNCiANCiAgICAgICAgIGF2X2ZyZWVfcGFja2V0KHBrdCk7DQogICAgICAgICBpZihwa3QtPmZsYWdzJlBLVF9GTEFHX0tFWSl7DQo=



More information about the ffmpeg-devel mailing list