Re: [FFmpeg-devel] [PATCH] psxstr: Remove some commented out code

2016-03-31 Thread Paul B Mahol
On 3/31/16, Derek Buitenhuis  wrote:
> Signed-off-by: Derek Buitenhuis 
> ---
>  libavformat/psxstr.c | 8 +---
>  1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
> index b57981a..38186f7 100644
> --- a/libavformat/psxstr.c
> +++ b/libavformat/psxstr.c
> @@ -104,13 +104,7 @@ static int str_probe(AVProbeData *p)
>   && sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){
>  return 0;
>  }
> -
> -/*st->codec->width  = AV_RL16([0x28]);
> -st->codec->height = AV_RL16([0x2A]);*/
> -
> -// if (current_sector == sector_count-1) {
> -vid++;
> -// }
> +vid++;
>
>  }
>  break;
> --
> 2.8.0.rc3
>
> ___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
lgtm
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] psxstr: Remove some commented out code

2016-03-31 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis 
---
 libavformat/psxstr.c | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
index b57981a..38186f7 100644
--- a/libavformat/psxstr.c
+++ b/libavformat/psxstr.c
@@ -104,13 +104,7 @@ static int str_probe(AVProbeData *p)
  && sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){
 return 0;
 }
-
-/*st->codec->width  = AV_RL16([0x28]);
-st->codec->height = AV_RL16([0x2A]);*/
-
-// if (current_sector == sector_count-1) {
-vid++;
-// }
+vid++;
 
 }
 break;
-- 
2.8.0.rc3

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