summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
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);
}