Lines Matching defs:astream
61 static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream, AVCodecContext *acodec, int flv_codecid) {
80 case FLV_CODECID_MP3 : acodec->codec_id = CODEC_ID_MP3 ; astream->need_parsing = AVSTREAM_PARSE_FULL; break;
222 static int amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vstream, const char *key, int64_t max_pos, int depth) {
246 if ((vstream || astream) && key && !strcmp(KEYFRAMES_TAG, key) && depth == 1)
247 if (parse_keyframes_index(s, ioc, vstream ? vstream : astream,
268 if(amf_parse_object(s, astream, vstream, str_val, max_pos, depth + 1) < 0)
292 acodec = astream ? astream->codec : NULL;
333 AVStream *stream, *astream, *vstream;
338 astream = NULL;
350 if (stream->codec->codec_type == AVMEDIA_TYPE_AUDIO) astream = stream;
355 if(amf_parse_object(s, astream, vstream, buffer, next_pos, 0) < 0)