summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-03-22 17:56:41 +0000
committerTim Redfern <tim@herge.(none)>2013-03-22 17:56:41 +0000
commitb1489d803be933eff43981f23b3540e9a0fb719f (patch)
treee532c25a9aee30c863f4365694831cb724f65bb6 /rotord/rotor.h
parent49993e6f9c77bf4c610b53e3abc4ce5651c7700b (diff)
still fighting with libavcodec
Diffstat (limited to 'rotord/rotor.h')
-rwxr-xr-xrotord/rotor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h
index 5667b62..c08371d 100755
--- a/rotord/rotor.h
+++ b/rotord/rotor.h
@@ -39,6 +39,10 @@ GOOD GOOD GOOD
next - build signal_output and make a working chain with dummy data
+
+
+main definitions of libavcodec.h are in utils.c
+
*/
#include <unordered_map>
@@ -112,6 +116,7 @@ namespace Rotor {
explicit Packet(AVFormatContext* ctxt = nullptr) {
av_init_packet(&packet);
packet.data = nullptr;
+ packet.size=0;
if (ctxt) reset(ctxt);
}