Fixed MistInAV - now compiles if -DWITH_AV=1 is set
This commit is contained in:
parent
1172768c34
commit
ba7467979a
2 changed files with 6 additions and 2 deletions
|
@ -237,11 +237,11 @@ namespace Mist {
|
|||
pkt["offset"] = (long long)((packet.pts - packet.dts) * 1000 * strm->time_base.num / strm->time_base.den);
|
||||
}
|
||||
pkt.netPrepare();
|
||||
lastPack.reInit(pkt.toNetPacked().data(), pkt.toNetPacked().size());
|
||||
thisPacket.reInit(pkt.toNetPacked().data(), pkt.toNetPacked().size());
|
||||
av_free_packet(&packet);
|
||||
return;//success!
|
||||
}
|
||||
lastPack.null();
|
||||
thisPacket.null();
|
||||
setup();
|
||||
//failure :-(
|
||||
DEBUG_MSG(DLVL_FAIL, "getNext failed");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue