Re: [FFmpeg-devel] [PATCH] movenc: Remove a leftover commented out line

2024-04-10 Thread Martin Storsjö

On Thu, 4 Apr 2024, Martin Storsjö wrote:


This line originates from 6f69f7a8bf6a0d013985578df2ef42ee6b1c7994.
---
libavformat/movenc.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 46a5b3a62f..ccdd2dbfc9 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1173,8 +1173,6 @@ static int get_samples_per_packet(MOVTrack *track)
{
int i, first_duration;

-// return track->par->frame_size;
-
/* use 1 for raw PCM */
if (!track->audio_vbr)
return 1;
--
2.39.3 (Apple Git-146)


Will apply.

// Martin
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-devel] [PATCH] movenc: Remove a leftover commented out line

2024-04-04 Thread Martin Storsjö
This line originates from 6f69f7a8bf6a0d013985578df2ef42ee6b1c7994.
---
 libavformat/movenc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 46a5b3a62f..ccdd2dbfc9 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1173,8 +1173,6 @@ static int get_samples_per_packet(MOVTrack *track)
 {
 int i, first_duration;
 
-// return track->par->frame_size;
-
 /* use 1 for raw PCM */
 if (!track->audio_vbr)
 return 1;
-- 
2.39.3 (Apple Git-146)

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".