[FFmpeg-devel] [PATCH] Helpful message when page_id != described in PMT
Michael Niedermayer
michaelni at gmx.at
Sat Jun 28 04:33:01 CEST 2014
On Sat, Jun 28, 2014 at 03:36:28AM +0530, Anshul Maheshwari wrote:
> Please find patch attached, 1 line change not worth explaining.
> for details on Ticket 2161 please go through ticket i have added comment
> there.
>
>
> -Anshul
> dvbsubdec.c | 2 ++
> 1 file changed, 2 insertions(+)
> c8c7026b675e32bc3a3e908899febcea55cfa3b8 0001-Helpful-message-when-page_id-described-in-PMT.patch
> From 6befb5b74a2d40afe326579dce1264cbd8f970d9 Mon Sep 17 00:00:00 2001
> From: Anshul Maheshwari <anshul.ffmpeg at gmail.com>
> Date: Sat, 28 Jun 2014 03:29:05 +0530
> Subject: [PATCH] Helpful message when page_id != described in PMT
>
> Related to Ticket 2161
> ---
> libavcodec/dvbsubdec.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
> index e958ae1..f227573 100644
> --- a/libavcodec/dvbsubdec.c
> +++ b/libavcodec/dvbsubdec.c
> @@ -1561,6 +1561,8 @@ static int dvbsub_decode(AVCodecContext *avctx,
> segment_type, page_id, segment_length);
> break;
> }
> + } else {
> + av_log(avctx, AV_LOG_WARNING,"Invalid Page segment\n");
why are they invalid ?
are they not just "not supported" ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140628/d958787f/attachment.asc>
More information about the ffmpeg-devel
mailing list