]> git.pld-linux.org Git - packages/avifile.git/blame - avifile-new_ffmpeg.patch
- enhanced ffmpeg patch to cover 4.x
[packages/avifile.git] / avifile-new_ffmpeg.patch
CommitLineData
2a806829
SS
1--- avifile-0.7-0.7.45/lib/aviread/FFReadHandler.cpp.orig 2008-02-17 21:15:03.493086369 +0100
2+++ avifile-0.7-0.7.45/lib/aviread/FFReadHandler.cpp 2008-02-17 21:15:48.989959474 +0100
3@@ -152,7 +152,7 @@
4 int FFReadHandler::seek(framepos_t pos)
5 {
6 Locker locker(m_Mutex);
7- url_fseek(&m_pContext->pb, 0, SEEK_SET);
8+ url_fseek(m_pContext->pb, 0, SEEK_SET);
9 flush();
10 //av_find_stream_info(m_pContext);
11 return 0;
12@@ -165,7 +165,7 @@
13 AVM_WRITE("FF reader", "readPacket()\n");
14 if (av_read_packet(m_pContext, &pkt) < 0)
15 {
16- if (!url_feof(&m_pContext->pb))
17+ if (!url_feof(m_pContext->pb))
18 AVM_WRITE("FF reader", "ffmpeg packet error and not eof??\n");
19 return -1;
20 }
This page took 0.040008 seconds and 4 git commands to generate.