Skip to content

Commit 24aba8c

Browse files
Update mpegflow.cpp
1 parent 4e063f5 commit 24aba8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mpegflow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ struct FrameInfo
251251
if(FirstPts == -1)
252252
FirstPts = Pts;
253253

254-
printf("# pts=%lld frame_index=%d pict_type=%c output_type=arranged shape=%zux%zu origin=%s\n", Pts - FirstPts, FrameIndex, PictType, (ARG_OUTPUT_OCCUPANCY ? 3 : 2) * Shape.first, Shape.second, Origin);
254+
printf("# pts=%lld frame_index=%d pict_type=%c output_type=arranged shape=%zux%zu origin=%s\n", (long long) Pts - FirstPts, FrameIndex, PictType, (ARG_OUTPUT_OCCUPANCY ? 3 : 2) * Shape.first, Shape.second, Origin);
255255
for(int i = 0; i < Shape.first; i++)
256256
{
257257
for(int j = 0; j < Shape.second; j++)
@@ -289,7 +289,7 @@ const size_t FrameInfo::MAX_GRID_SIZE;
289289

290290
void output_vectors_raw(int frameIndex, int64_t pts, char pictType, vector<AVMotionVector>& motionVectors)
291291
{
292-
printf("# pts=%lld frame_index=%d pict_type=%c output_type=raw shape=%zux4\n", pts, frameIndex, pictType, motionVectors.size());
292+
printf("# pts=%lld frame_index=%d pict_type=%c output_type=raw shape=%zux4\n", (long long) pts, frameIndex, pictType, motionVectors.size());
293293
for(int i = 0; i < motionVectors.size(); i++)
294294
{
295295
AVMotionVector& mv = motionVectors[i];

0 commit comments

Comments
 (0)