@scrypted/libav 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/decode.cpp +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrypted/libav",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "dependencies": {
5
5
  "node-addon-api": "^8.1.0",
6
6
  "prebuild-install": "npm:@scrypted/prebuild-install@^7.1.8"
package/src/decode.cpp CHANGED
@@ -94,8 +94,8 @@ public:
94
94
  return;
95
95
  }
96
96
  }
97
- av_packet_unref(packet); // Reset the packet for the next frame
98
97
  }
98
+ av_packet_unref(packet); // Reset the packet for the next frame
99
99
  }
100
100
 
101
101
  av_frame_free(&frame);