[SCM] libav/experimental: changed write_packet API - should work as before

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:33:42 UTC 2013


The following commit has been merged in the experimental branch:
commit 90dca1411d6cbabc50a7aba197f0bd8410a59175
Author: Fabrice Bellard <fabrice at bellard.org>
Date:   Mon Oct 21 17:44:43 2002 +0000

    changed write_packet API - should work as before
    
    Originally committed as revision 1060 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffserver.c b/ffserver.c
index 789f508..2f3eae7 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2119,7 +2119,7 @@ static int http_prepare_data(HTTPContext *c)
                             /* XXX: potential leak */
                             return -1;
                         }
-                        if (av_write_packet(ctx, &pkt, pkt.pts)) {
+                        if (av_write_frame(ctx, pkt.stream_index, pkt.data, pkt.size)) {
                             c->state = HTTPSTATE_SEND_DATA_TRAILER;
                         }
                         

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list