On 02/14/2015 05:37 PM, Luca Barbato wrote:
On 14/02/15 17:34, Thomas Volkert wrote:
On 02/14/2015 01:47 AM, Luca Barbato wrote:
---
  libavformat/rtpdec_h264.c | 115
++++++++++++++++++++++++----------------------
  1 file changed, 61 insertions(+), 54 deletions(-)

diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 75013cf..212ea1a 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -180,6 +180,66 @@ static int
sdp_parse_fmtp_config_h264(AVFormatContext *s,
      return 0;
  }
+static int parse_stap_a(AVFormatContext *ctx, AVPacket *pkt,
+                        const uint8_t *buf, int len)
+{

Could we use "h264_handle_packet_stap_a()" here?


Yes, maybe without h264 since it the idea is to reuse it for hevc.


We could do this in the next patch when we try to reuse the code.
But okay... this is also possible.

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

Reply via email to