On Tue, Jul 03, 2012 at 09:04:25PM +0200, Jordi Ortiz wrote:
> I think that Samuel was right with his appreciation although the messages 
> were shown only on DEBUG.
> ---
>  libavformat/rtmpproto.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
> index b48274b..90345e4 100644
> --- a/libavformat/rtmpproto.c
> +++ b/libavformat/rtmpproto.c
> @@ -959,6 +959,9 @@ static int rtmp_parse_result(URLContext *s, RTMPContext 
> *rt, RTMPPacket *pkt)
>                  return ret;
>          }
>          break;
> +    case RTMP_PT_VIDEO:
> +    case RTMP_PT_AUDIO:
> +        /* Audio and Video packets are parsed in get_packet() */

insert break at least

>      default:
>          av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", 
> pkt->type);
>          break;
> -- 

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to