@scrypted/libav 1.0.14 → 1.0.15
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.
- package/package.json +1 -1
- package/src/decode.cpp +1 -1
package/package.json
CHANGED
package/src/decode.cpp
CHANGED
|
@@ -93,6 +93,7 @@ public:
|
|
|
93
93
|
{
|
|
94
94
|
if (avcodec_receive_frame(codecContext, frame) == 0)
|
|
95
95
|
{
|
|
96
|
+
fprintf(stdout, "finished reading a frame\n");
|
|
96
97
|
av_packet_free(&packet);
|
|
97
98
|
result = frame;
|
|
98
99
|
return;
|
|
@@ -100,7 +101,6 @@ public:
|
|
|
100
101
|
}
|
|
101
102
|
av_packet_unref(packet); // Reset the packet for the next frame
|
|
102
103
|
}
|
|
103
|
-
fprintf(stdout, "finished reading a frame\n");
|
|
104
104
|
|
|
105
105
|
av_frame_free(&frame);
|
|
106
106
|
av_packet_free(&packet);
|